Forum Discussion
bsb
Nimbostratus
Feb 13, 2018xforward-for doesnt work
to fetch real client ip.
Scenario :
Client Machine -- > Proxy (Xforward for enabled) ----> Lb ---> Backend Server (url configured)
when client tries to access a url, request is forwarded to proxy for...
bsb
Nimbostratus
Feb 15, 2018(edited by admin to put in code blocks)
when HTTP_REQUEST {
set CLIENT_ADDR [IP::client_addr]
set XFF [HTTP::header X-Forwarded-For]
set vip [IP::local_addr]:[TCP::local_port]
}
when HTTP_RESPONSE {
log local0. "SRC:$CLIENT_ADDR XFF:$XFF vip:$vip backend_server:[LB::server addr]:[server_port]"
}above case worked out.
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
