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

    Can't define the right gateway on multi wan machine

    Scheduled Pinned Locked Moved Routing and Multi WAN
    5 Posts 2 Posters 1.7k 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.
    • O Offline
      Ozzik
      last edited by

      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?

      thanks

      1 Reply Last reply Reply Quote 0
      • A Offline
        Advoc8tr
        last edited by

        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

        1 Reply Last reply Reply Quote 0
        • O Offline
          Ozzik
          last edited by

          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…

          1 Reply Last reply Reply Quote 0
          • A Offline
            Advoc8tr
            last edited by

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

            1 Reply Last reply Reply Quote 0
            • O Offline
              Ozzik
              last edited by

              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.

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