I have problems with transparent HAProxy. I use Centos 7 with ius-repo, so compiled with tproxy support. No fancy things here, just the basics. Flat IP space, no routing involved (yet). Have other options set as well (ipforward, non local bind).
I have a web server with some content (apache on srv1 with IP 192.168.1.10), have a haproxy box (v1.8.9) with one interface IP 192.168.1.11 one rule with frontend and backend, binding to 192.168.1.11:80. Traffic should be redirected to 192.168.1.10 tcp/80. Running in tcp mode (this is a demo for a tcp service, so http won't fit in the end).
From the HAProxy box I can do a wget to its own IP 192.168..11 and this results in a correct call and answer to/from the apache box. But when I try to do the same from another client (192.168.1.12), the wget hangs on HTTP request sent, awaiting response... ^C If I remove the option 'source 0.0.0.0 usesrc clientip' from the backend, stuff works, but then the client IP is the IP from the HAProxy box, what I don't want. i also did the iptables magic that is theer on the net.
So simple: client -> HaProxy -> Webserver but need the client IP.
Any ideas?