Forum Discussion
jerm1020_254086
Aug 01, 2016Nimbostratus
create 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
when HTTP_REQUEST {
if { HTTP::header exists X-Forwarded-For } {
HTTP::header replace X-Forwarded-For [[IP::client_addr]]
}
}
jerm1020_254086
Aug 01, 2016Nimbostratus
apologies 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?
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