Forum Discussion
mbkosiba_310067
Nimbostratus
Jun 06, 2017Replace X-Forwarded-For value with client IP
I am trying to remove an existing X-Forwarded-For field in an HTTP header with my actual client IP address via an iRule. Currently, I have a VS configured with a HTTP profile and code in the iRule th...
mbkosiba_310067
Nimbostratus
Jun 06, 2017I ended up using a policy to get this working.
Match on following conditions: All traffic
Do the following when the traffic is matched:
Replace http header named X-Forwarded-For with value tcl:[IP::client_addr] at request time
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
