Forum Discussion
JosephT
Nimbostratus
Feb 02, 2008iRule to preserve client IP address?
Our developers want to put an app (AD4J) behind our load balancers. Our load balancers are single arm'd and we use SNAT automap on the VIP. The AD4J server needs to see the client source IP for it's function, but is seeing the load balancers' IP instead, as expected. And unfortunately, we can't have the servers use the load balancer as their gateway to solve this.
I've done a lot of searches, but all point back to using x-forwarded for. However, that solution, from what I understand applies to logging. In our case, the AD4J server isn't working with log files. From what I understand, it gets the client ip address through the TCP connection instead of the http header.
The closest cases I could find to our situation were these:
http://devcentral.f5.com/Default.aspx?tabid=53&view=topic&postid=12195
http://devcentral.f5.com/Default.aspx?tabid=53&forumid=25&postid=20038&view=topic
Appreciate any advice.
- The_Bhattman
Nimbostratus
Hi Jtani,when HTTP_REQUEST { HTTP::header insert CLIENT_ADDRESS [IP::client_addr] }
- Nicolas_Menant
Employee
Then it's not going to be possible with an iRules. - David_Homoney
Nimbostratus
jtani,
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