Forum Discussion
Tom_Thunem_9204
Nimbostratus
Aug 26, 2009persist on x-forwarded-for
I am stuck on how to reference the value of the x-forwarded-for header. we want to persist on the original client-ip. SNAT and the persistence profile is causing an upstream pool with 2 members to l...
hoolio
Cirrostratus
Aug 26, 2009Hi,
If the XFF header is present with a value, you can use this:
when HTTP_REQUEST {
if {[HTTP::header X-Forwarded-For] != ""}{
persist uie [HTTP::header X-Forwarded-For] 900
}
}
Aaron
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