Receive client real IP in TCP mode


#1

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


#2

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):


#3

thank you for your reply