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

    Multi-WAN, have 2 IPs point to the exactly same resources.

    Scheduled Pinned Locked Moved Routing and Multi WAN
    6 Posts 5 Posters 1.8k 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.
    • S Offline
      sebastiannielsen
      last edited by

      Hello. Have configured Multi-WAN as following:

      and turned off monitoring. The gateways work fine.

      What I want to do now, is to make sure that if a packet comes in at WAN2 and is port-forwarded to a server, its response should go out on WAN2 (eg with source= .68) and if a packet comes in at WAN1 and is port forwarded to a server, its response should go out on WAN1 (eg source= .88).
      All traffic from inside is configured to go out on WAN1.

      Basically, both WAN's should behave like they were 2 completely identical networks hooked up to the internet. I need this config because my registrar is a bit poo-poo in the head and wont let me configure the domain if I dont have 2 nameservers, and it groans when entering the same IP in both fields for nameserver, so lets get this working by have 2 public IPs pointing to the same physical machine!

      1 Reply Last reply Reply Quote 0
      • D Offline
        dhatz
        last edited by

        Having the same WAN gateway IP is only supported with PPPoE.

        1 Reply Last reply Reply Quote 0
        • S Offline
          sebastiannielsen
          last edited by

          Solved it.
          Had to put a simple router between the second uplink and the firewall, and DMZing that router.
          Now I have 2 IPs that point to the same resources given that firewall rules are correctly defined.

          It was that 2 gateway IPs cannot be same. But why? Why not add support for it by identifying gateways via other means?

          1 Reply Last reply Reply Quote 0
          • H Offline
            heper
            last edited by

            Because it is technically impossible with the OS pfsense is using. The developers have looked at numerous ways to work around this issue.
            No sollution today … perhaps in future releases of Freebsd this might be possible.

            1 Reply Last reply Reply Quote 0
            • R Offline
              RpR
              last edited by

              can an admin confirm this?
              I am having the same problem.

              1 Reply Last reply Reply Quote 0
              • GruensFroeschliG Offline
                GruensFroeschli
                last edited by

                sebastiannielsens solution is the only one without using PPPoE.

                We do what we must, because we can.

                Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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