Forum Discussion
Karim_51672
Nimbostratus
Jul 09, 2008Remote_addr using SNAT
I am using SNAT and need the actual remote (client) address to show up on the server in "remote_addr" field. Instead it always shows up as BIG-IP's address. I have the x-forwarded working but it's only good for logging purposes and my applications uses the "remote_addr" field to process the transaction.
I have read a lot in this forum and need someone to confirm my conclusion.
It is NOT possible to change the remote_addr in the header to be the actual client address if I am using SNAT. The only way to get the actual remote (client) address to the server is by NOT using SNAT and by setting the webserver's default gateway to BIG-IP's address.
Thanks in advance.
2 Replies
- hoolio
Cirrostratus
You're correct. You'd either need to change the app to read the XFF header instead of the REMOTE_ADDR CGI variable or change the routing so that you can disable SNAT on LTM and still ensure responses to the client return through LTM.
Aaron - Karim_51672
Nimbostratus
Thanks for your prompt response.
--Karim--
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
