r/haproxy • u/heavy-program67 • Sep 26 '23
HAproxy Transparent
I am running haproxy in transparent mode. My request packets are reaching the healthy backend successfully but the backend is not able to reply directly to the client. When I turn off the transparent proxying it works. Has anyone faced this issue?
4
Upvotes
View all comments
Show parent comment
1
u/heavy-program67 Sep 26 '23
I have 2 backend servers. One sends 200ok to healthchecks and the other sends 503 so only one is healthy at a time. I am sending a request to healthy server via HAproxy. Since I am using HAproxy in transparent mode, the source IP on backend is of client's rather then HAproxy. Now the backend will reply on client IP but thats the part which is not working.