The Client IP Behind a Proxy
Behind a load balancer, the app logs every request as coming from 10.0.0.12. Where is the real client IP?
10.0.0.12
Choose one answer
Encoded in the TCP source port of the connection from the load balancer.
In the Referer header sent by the browser.
Referer
In X-Forwarded-For, added by the load balancer.
X-Forwarded-For
Nowhere: a proxied request loses the client IP for good.