Forum Discussion
jerm1020_254086
Nimbostratus
Aug 01, 2016create a new Header value manipulation iRule
create a new Header value manipulation iRule. This iRule needs to interrogate Header values and substitute the x-forwarded-for value with True-Client-IP value if available. our CDN is providing the a...
ekaleido
Cirrus
Aug 01, 2016 when HTTP_REQUEST {
if { HTTP::header exists X-Forwarded-For } {
HTTP::header replace X-Forwarded-For [[IP::client_addr]]
}
}
jerm1020_254086
Nimbostratus
Aug 01, 2016apologies for my ignorance on the subject, but this accomplishes what I was seeking? it looks correct from my limited knowledge of irules. true client is client IP within the irule?
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