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...
Jad_Tabbara__J1
Cirrostratus
Jun 06, 2017Hello,
Have you tried to use the replace instead of remove/insert
HTTP::header replace X-Forwarded-For [IP::remote_addr]
https://devcentral.f5.com/wiki/iRules.HTTP__header.ashx
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
