Can't define the right gateway on multi wan machine

  • Hi,
    I'm having a weird issue with routing.
    I have a pfsense 1.2.2 setup with 4 NICs. Up until now I only used WAN and OPT1 (no NAT) and it worked fine.
    Today I added the OPT2 as another Internet line with gateway of its own and LAN as another subnet (no NAT).

    What I want to achieve is that the WAN-OPT1 will remain as is, and the new OPT2-LAN will work in a similar way, independently.
    I defined the rules on LAN so that the traffic will leave though the OPT2 gateway and it's working fine.
    What drives me insane though is that traffic that comes in on OPT2 leaves (replies) through default gateway which is WAN.

    What am I missing?


  • Have you disabled Reply to on WAN setting in Advanced > Firewall / Nat ?

    Try going into Routing > Gateways and deselect the default gateway checkbox on WAN gateway i.e no default set. Traffic will reply via outbound NAT rules

  • thanks for answering.
    this is 1.2.2 version, you're thinking about 2.0.

    Is this even possible? I sure hope that I will not have to setup a new server for this…

  • Why not upgrade the firmware if you know the new version has what you need?

  • because it's a very critical system in a very specific production environment and it took me ages to set it up right.
    I don't have the time to go through that again right now.

Log in to reply