JosephT
Feb 02, 2008Nimbostratus
iRule 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.