Forum Discussion
cjbarr1234
Altostratus
May 31, 2016iRule Remove Pre-Existing X-Forward-For
Hello,
We have a few clients that are injecting X-Forward-for into the client request. The LTM I am managing also Adds on X-Forward-For via source address, so it is duplicating the source addre...
Yann_Desmarest
Cirrus
May 31, 2016Hi,
You can use the following irule to do that :
when HTTP_REQUEST {
HTTP::header remove "X-Forwarded-For"
HTTP::header replace "X-Forwarded-For" [IP::client_addr]
}
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