Forum Discussion
Anish_5238
Nimbostratus
Oct 19, 2007iRule for REMOTE_ADDR
Hello
We are using the BigIP in an Auto_map SNAT configuration and in this case the REMOTE_ADDR of the client is replaced by the IP of the BigIP in the webserver logs.
I understand...
hoolio
Cirrostratus
Oct 22, 2007Hi,
Are you wanting to log the value in the X-Forwarded-For value or actually use the value in generating the HTML content? If the former, you can use a DLL plugin to log the value. Else, it would probably be easier to modify the scripts running on the servers to parse the value. You could either disable the SNAT or use an iRule to take the XFF value and use it as the source IP in traffic sent to the pool. Either of the last two options would require that the default gateway on the pool members be set to the floating IP of the BIG-IP.
Can you clarify what you're trying to do and whether you can set the default gateway of the pool members to the BIG-IP's self IP?
Thanks,
Aaron
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