Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    HAProxy not working in Multi-WAN scenario

    Scheduled Pinned Locked Moved Cache/Proxy
    2 Posts 1 Posters 262 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      laborm32
      last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • L
        laborm32
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.