Forum Discussion

Sesha_111292's avatar
Icon for Nimbostratus rankNimbostratus
Mar 28, 2011

X-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

  • 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.




    -Matt Cauthorn
  • 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:


  Click Here