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

    How to force a host to use a ONLY different the second WAN connection

    Scheduled Pinned Locked Moved Routing and Multi WAN
    8 Posts 4 Posters 1.0k 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.
    • B Offline
      burnsl
      last edited by

      I searched but could not find this answer.

      Can I get a push in the right direction here?

      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User
        last edited by

        how is about a firewall rule:
        his ip-adress -> gateway 2.WAN

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

          use policy routing –> create a firewall rule in the LAN-tab (make sure it is above the any-to-any rule)

          set source: your_lan_host
          set destination: any
          set gateway: WAN2_gateway

          1 Reply Last reply Reply Quote 0
          • B Offline
            burnsl
            last edited by

            I tried a LAN firewall rule above the any to any rule, unless "policy routing" is something other than a firewall rule, then those suggestions didn't seem to work.

            The way i verified this was two ways:

            1. I checked the traffic for that second interface and there was none
            2. I browsed the web from the host and was told my external IP was the IP for the wrong WAN interface.

            Thoughts?

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

              did you reset states after you added the rule ?

              1 Reply Last reply Reply Quote 0
              • B Offline
                burnsl
                last edited by

                Absolutely.

                Even rebooted the host and the firewall

                1 Reply Last reply Reply Quote 0
                • pttP Offline
                  ptt Rebel Alliance
                  last edited by

                  Can you please attach a screenshot of your FW rules

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    burnsl
                    last edited by

                    When I went to go take a screenshot of the firewall rules I noticed a typo in the IP address.

                    It's working perfectly fine now.

                    Your suggestions were what needed to happen I simply made a typographical error.

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