HAProxy community

Receive client real IP in TCP mode


Hello. Is there any way to receive client’s real IP in TCP mode without Proxy protocol?


That depends on many factors. There is a transparent mode you can use, but haproxy needs to be your default-gateway and “see” all the traffic. It’s pretty complex to setup.

You can read more about it here (just ignore the first part where he’s installing a 1.5-dev build - just make sure you run a supported haproxy release):


thank you for your reply