Forum Discussion
Rosieodonell_16
May 13, 2018Cirrus
Add a custom "X-forwarded-for" header
Hey Everyone,
I currently have my F5 sitting in front of an older load balancer. My organization needs to encrypt the traffic between the F5 and the webserver. Because of this, the older load balan...
Rosieodonell_16
May 15, 2018Cirrus
This is the code I ended up going with! Thanks to the community for all the help like always!
when HTTP_REQUEST {
HTTP::header remove "X-Forwarded-For"
HTTP::header replace "X-Forwarded-For" [IP::client_addr]
HTTP::header replace "X-Forwarded-For" 10.102.22.53
}
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