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

    Working setup with 2 wan2

    Scheduled Pinned Locked Moved Routing and Multi WAN
    9 Posts 2 Posters 2.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.
    • G
      Gino
      last edited by

      hi

      i can not get to it to work only one wan is working even when i plug out the wan second is not taking it over.

      does any one can upload a working configuration that i can adjust to my ip's ?

      wan  192.168.1.254
      wan2 10.0.0.138

      lan 10.0.0.130

      dhcp 150-170

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

        Your WAN2 and LAN subnet are the same.
        (hint: you need to have different subnets on each interface).

        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
        • G
          Gino
          last edited by

          @GruensFroeschli:

          Your WAN2 and LAN subnet are the same.
          (hint: you need to have different subnets on each interface).

          thanks !!

          that was all it works

          now i need to make 2 more wan's how can i configure this ?

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

            The same way you configured your first two WANs: just add them to the loadbalancing pool.

            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
            • G
              Gino
              last edited by

              okay

              now i have problem with making rules in nat

              he makes them but does only round robin

              2 wan's 2 different nntp servers

              i did make rules in nat

              WAN  TCP  119 (NNTP)  217.19.16.66(ext.: 192.168.1.35) 119 (NNTP)

              WAN2  TCP  119 (NNTP)  82.197.196.34(ext.: 10.0.0.141) 119 (NNTP)

              is there something i forgot ?

              normaly this is very simple.

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

                Sorry i really dont understand.
                You have to describe what your goal is, how you expect it to behave and how it behaves now.

                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
                • G
                  Gino
                  last edited by

                  @Gino:

                  okay

                  now i have problem with making rules in nat

                  he makes them but does only round robin

                  2 wan's 2 different nntp servers

                  i did make rules in nat

                  WAN  TCP  119 (NNTP)  217.19.16.66(ext.: 192.168.1.35) 119 (NNTP)

                  WAN2  TCP  119 (NNTP)  82.197.196.34(ext.: 10.0.0.141) 119 (NNTP)

                  is there something i forgot ?

                  normaly this is very simple.

                  i want that when i connect:

                  217.19.16.66 it goes only true wan

                  82.197.196.34 it goes only true wan2

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

                    NAT rules are used to forward and modify packets inbound.
                    Did i get that right, that you're talking about outbound traffic?

                    scrap the NAT rules and create policy routing firewall rules.
                    Make sure that your new firewall rules are above your loadbalancing rule.

                    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
                    • G
                      Gino
                      last edited by

                      @GruensFroeschli:

                      NAT rules are used to forward and modify packets inbound.
                      Did i get that right, that you're talking about outbound traffic?

                      scrap the NAT rules and create policy routing firewall rules.
                      Make sure that your new firewall rules are above your loadbalancing rule.

                      thanks that was simple

                      i was thinking the wrong way.

                      when i have more wan's and i want one ip adres (internet) blocked by wan2 and the others round robin where can i configure this ?

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