Forum Discussion
C_D_18583
Nimbostratus
Jul 31, 2006Extracting client IP at the pool member
I am not sure if I require an Irule or this is strictly a configuration issue . I have a requirement where the application requires the client(source) IP address. How can I pass the source IP to the a...
Jul 31, 2006
It would be a fairly simple iRule.
when HTTP_REQUEST {
HTTP::header insert "Client-Addr" [IP::remote_addr]
}If you don't want to go with the iRule route, you can always enable the "X-Forwarded-For" header option in the associated HTTP profile. This will insert the client address into a "X-Forwarded-For" HTTP header. You'll have to use the iRule if you want a customized header name.
-Joe
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects