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
Apr 20, 2014Employee
not work 😞
can you add some logging in the irule?
e.g.
when HTTP_REQUEST {
log local0. "\[HTTP::header Forwarded\] [HTTP::header Forwarded]"
if { [scan [HTTP::header Forwarded] {for=%s} ip] == 1 } {
HTTP::header remove X-forwarded-for
HTTP::header insert X-forwarded-for $ip
}
}
- KOR_124005Apr 22, 2014NimbostratusHi ntass, VS is configured as follows: a profile Http applied and iRule that you sent me. a profile \ service \ http \ Insert Header request (enabled) X-BIGIP-CALLING-IP: [IP :: client_addr] Still the output is the same ip ip proxy google replaces the client. Thank you very much for your support and help I really appreciate. Br,
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