Forum Discussion
Sajan_Mania_381
Altostratus
Mar 11, 2019With SNAT Automap enabled Performance L4 VIP - How to know the real client IP address ?
As a server owner I would like to know the real client IP address of all the request which is coming to my Backend server from VIP , but SNAT Auto-map will change the client IP address to f5 floatin...
Gym
Cirrus
Mar 15, 2019To correlate, you could try logging the server-side source port — [serverside {TCP::local_port}] — at the same time as the client-side source IP — [clientside {IP::remote_addr}]. I believe you can do this all when SERVER_CONNECTED. Like this (untested):
when SERVER_CONNECTED {
log local0.info "Client [clientside {IP::remote_addr}] connected to [IP::server_addr]:[serverside {TCP::remote_port}] from port [serverside {TCP::local_port}]"
}
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