Forum Discussion
KOR_124005
Mar 05, 2014Nimbostratus
How to setup X-Forwarded-For HTTP header to preserve the original client IP address for traffic translated by a SNAT ?
Hi All, Hope you are fine.
please need you Help,
i have problem,
when i activate the google proxy is the IP of the proxy that replaces the customer address
i tested the proxy wit...
nitass
Employee
after having applied the irule
as you can see the field is replace by @ IP Proxy googel.
so, does it work or not work?
KOR_124005
Apr 20, 2014Nimbostratus
not work :(
I had made no changes iRules, are what I must change at irule (ip, value ..)?
iRule
When HTTP_Request {
if {[scan [HTTP :: header Forwarded] {for =% s} ip] == 1} {
HTTP :: header remove X-forwarded-for
HTTP :: header insert X-forwarded-for $ ip
}
}
}
ip our 3G customer >> (105 235 128 137)
we want this an address be displayed on the following two fields, but for now it is replaced by proxy google.
X-BIGIP-CALLING-IP: 66.249.93.10 Proxy >>>> Google
X-Forwarded-For: 66.249.93.10
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