Forum Discussion
Sesha_111292
Nimbostratus
Mar 28, 2011X-Forwarded-for returning multiple IPs
Insert X-forwarded-for in the HTTP profile, is adding client ip and the IP's of proxies in the path, to the HTTP Header. Is there a way for the LTM to add only the client IP, and not all the proxy IP addresses?
2 Replies
- L4L7_53191
Nimbostratus
This is expected behavior - have a look here for a walk through of what is going on, as well as a work around if you want to ignore the chain of addresses.
http://support.f5.com/kb/en-us/solutions/public/4000/800/sol4816.html?sr=13566650
-Matt Cauthorn - JRahm
Admin
You can loop through the values in the X-Forwarded Header, or just take an element from the list (first, assuming each proxy appended the original value). Here's a good thread on this issue:
http://devcentral.f5.com/Community/GroupDetails/tabid/1082223/asg/50/aft/1174108/showtab/groupforums/Default.aspx Click Here
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