Forum Discussion
Irule for redirect
This iRule is looking for a HTTP header called A-Forwarded-For and if it exists it's replacing its value with the client IP address for the connection.
This iRule seems to be reliant on you having route domains configured on your unit as it is looking for "%" as a separator. I presume you are running TMOS v10.x.
If the header is not present then it is inserting it with the client IP address as its value.
Basically it's a way to log the source IP of your HTTP requests through the BIG-IP usually if you use SNAT.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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