Forum Discussion
How can i replace the "REMOTE_ADDRESS" IP with the "x-forworded-for" IP address
Hi all,
Could you help me how can i replace the "REMOTE_ADDRESS" IP with the "x-forworded-for" IP address?Behind from remote ip address which is the VS load balanced IP address there 2 web servers, and i want to know the client (customer) ip address connected on them.
Thank you
- Stanislas_Piro2
Cumulonimbus
It seems to be log from backend server!
To preserve client IP address on server connection, you must disable source address translation in virtual server!
But if you disable source address translation, you may have routing issues!
This is why when we configure source address translation, we can add x-forwarded-for header to send to the server the client IP address
Recent Discussions
Related Content
* 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