HAProxy not working in Multi-WAN scenario
-
Hi,
I have simple two WAN configuration system.
In the scenario without proxy, just NAT forwarding everything works fine.
With proxy bound only to WAN1 interface which is default, everything is working too.
After bounding WAN2 in frontend, no requests arrived to that interface are responded.
I've found that every request that comes to the WAN2 interface is responded from WAN1 what is probably root of problem:
req->WAN2->proxy->dmz
<-WAN1<-proxy<-I
Could you please give me a hint how to solve this puzzle? -
Hi,
Finally I figured it out, however I'm not happy about what I've found.
HAProxy is working on both interfaces after change default gateway from WAN group WGDefault where WAN1 and WAN2 belongs to Automatic.
IMHO proxy shouldn't rely on that setting at all.
I'm gonna check pfSense bug reports and submit one eventually.