Forum Discussion
sistemisti_8518
Nimbostratus
Oct 24, 2013SNAT based on HTTP::HEADER (and SNAT)
Hi, we have implemented a virtual with two apache behind in round-robin balance. We need to configure a persistence based on a http::header "x-forwarded-for" ip original client.
The persistence ...
What_Lies_Bene1
Cirrostratus
Oct 24, 2013Something like this (untested):
set origin_ip [HTTP::header "x-forwarded-for"]
if { $origin_ip == "" }
return
elseif { [IP::addr $origin_ip equals 172.16.0.0/16] } {
snatpool X }
else {
snat x.x.x.x }
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