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 application?
Please advise. Thanks in advance.
- It would be a fairly simple iRule.
when HTTP_REQUEST { HTTP::header insert "Client-Addr" [IP::remote_addr] }
- dennypayne
Employee
Also, you didn't indicate what the pool member application is but note that IIS does not log these custom headers by default. Look here in the Downloads/iControl Code Share section (Click here) for a filter which will enable IIS to log the X-Forwarded-For header that Joe referred to.
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