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

    1 wan 2 lan

    Scheduled Pinned Locked Moved Routing and Multi WAN
    26 Posts 5 Posters 1.9k 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.
    • P
      pellle87
      last edited by

      ok so i changed to lan2 rules to source lan2 destination lan2 now that atleast works as intended. however still no internet access, after reading som other threads i removed the gateway for LAN2 but still nothing

      1 Reply Last reply Reply Quote 0
      • NogBadTheBadN
        NogBadTheBad
        last edited by NogBadTheBad

        You need to allow TCP & UDP or protocol ANY !

        0_1548710823582_Screenshot 2019-01-28 at 21.26.45.png

        Change TEST net to be your LAN2 and replace n_ip_local with LAN net or create an alias with your LAN subnet in and use that.

        Also if you don't use IPv6 just use IPv4 in the rules.

        Andy

        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

        P 1 Reply Last reply Reply Quote 0
        • P
          pellle87 @NogBadTheBad
          last edited by

          @nogbadthebad oh, thanks... still the same deal tho :( DNS_PROBE_FINISHED_NO_INTERNET

          NogBadTheBadN 1 Reply Last reply Reply Quote 0
          • NogBadTheBadN
            NogBadTheBad @pellle87
            last edited by NogBadTheBad

            @pellle87 said in 1 wan 2 lan:

            DNS_PROBE_FINISHED_NO_INTERNET

            Have you enabled DHCP and DNS for LAN2 ?

            I'd also kill the firewall states for good measure.

            Andy

            1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

            P 1 Reply Last reply Reply Quote 0
            • KOMK
              KOM
              last edited by

              Not sure why you're using real IP space for your second lan. Don't use 11.11.11.0. Keep it all in 10.x.x.x. There are literally millions of addresses you you to use.

              LAN2 only allows tcp, like NogBad said. How is DNS going to work like that?

              NogBadTheBadN P 2 Replies Last reply Reply Quote 0
              • NogBadTheBadN
                NogBadTheBad @KOM
                last edited by

                @kom

                LOL didn't spot 111.11.11.1

                Andy

                1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                1 Reply Last reply Reply Quote 0
                • P
                  pellle87 @NogBadTheBad
                  last edited by

                  @nogbadthebad DHCP i configured as this:

                  alt text

                  1 Reply Last reply Reply Quote 0
                  • NogBadTheBadN
                    NogBadTheBad
                    last edited by NogBadTheBad

                    As @kom mentioned change your LAN2 IP details.

                    111.11.1.1 address space is owned by a a Telco in China.

                    Use 10.10.11.0/24.

                    Andy

                    1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                    1 Reply Last reply Reply Quote 0
                    • P
                      pellle87 @KOM
                      last edited by

                      @kom basically i use 11.11.xxxxx just so its easier to sort which devices that are connected to what :) i have changed to all from tcp

                      NogBadTheBadN KOMK 2 Replies Last reply Reply Quote 0
                      • NogBadTheBadN
                        NogBadTheBad @pellle87
                        last edited by NogBadTheBad

                        @pellle87 said in 1 wan 2 lan:

                        @kom basically i use 11.11.xxxxx just so its easier to sort which devices that are connected to what :) i have changed to all from tcp

                        That will never work.

                        Read up on https://tools.ietf.org/html/rfc1918

                        Andy

                        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                        F 1 Reply Last reply Reply Quote 0
                        • KOMK
                          KOM @pellle87
                          last edited by KOM

                          @pellle87 Don't use public IP space that isn't yours. Stay within the 10s, 172s or 192s:

                          10.0.0.0/8 = 10.0.0.0 – 10.255.255.255
                          172.16.0.0/12 = 172.16.0.0 – 172.31.255.255
                          192.168.0.0/16 = 192.168.0.0 – 192.168.255.255

                          so, try using 10.0.0.0/24 and 10.0.1.0/24 or 10.0.2.0/24... you have millions to choose from.

                          P 1 Reply Last reply Reply Quote 0
                          • P
                            pellle87 @KOM
                            last edited by

                            @kom Ok, thanks i have switched to 10.10.11.xxx however im still stuck on the same deal with no net

                            NogBadTheBadN 1 Reply Last reply Reply Quote 0
                            • NogBadTheBadN
                              NogBadTheBad @pellle87
                              last edited by NogBadTheBad

                              @pellle87

                              Repost your rules.

                              A bit larger this time ;)

                              Also are you currently using an AP in LAN2 or connecting direct via copper?

                              Andy

                              1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                              P 1 Reply Last reply Reply Quote 0
                              • P
                                pellle87 @NogBadTheBad
                                last edited by

                                @nogbadthebad i posted on imgur: https://imgur.com/a/48pYs5M

                                Right now the AP is not connected, i have just connected a wire between lan2 port and a computer

                                NogBadTheBadN 1 Reply Last reply Reply Quote 0
                                • NogBadTheBadN
                                  NogBadTheBad @pellle87
                                  last edited by NogBadTheBad

                                  @pellle87

                                  Delete your LAN2 rules and copy the rules from the LAN interface and change the interface to LAN2.

                                  Does it then work ?

                                  Are you using a PC to test, if so what does an ipconfig /all say ?

                                  Andy

                                  1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                                  P 1 Reply Last reply Reply Quote 0
                                  • P
                                    pellle87 @NogBadTheBad
                                    last edited by pellle87

                                    @nogbadthebad you my sir are my hero! really big thanks for clarifying and helping me :) i gotta read up abit more about networking... again. Thanks!

                                    edit: copying the rules did the trick

                                    NogBadTheBadN 1 Reply Last reply Reply Quote 0
                                    • NogBadTheBadN
                                      NogBadTheBad @pellle87
                                      last edited by

                                      @pellle87

                                      Now just work on blocking access from LAN2 to LAN now you know it's working :)

                                      Andy

                                      1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

                                      P 2 Replies Last reply Reply Quote 0
                                      • P
                                        pellle87 @NogBadTheBad
                                        last edited by

                                        @nogbadthebad yea... that will be interesting figuring out atleast internet is up now

                                        1 Reply Last reply Reply Quote 0
                                        • P
                                          pellle87 @NogBadTheBad
                                          last edited by

                                          @nogbadthebad shouldnt theese rules do the trick?
                                          alt text or do i missunderstand the invert option?

                                          NogBadTheBadN 1 Reply Last reply Reply Quote 0
                                          • F
                                            free4 Rebel Alliance @NogBadTheBad
                                            last edited by free4

                                            @pellle87 said in 1 wan 2 lan:

                                            I have setup a second lan on my install that im planning of plugging my AP into to separate the wlan from the rest of the lan.

                                            LAN: 10.10.10.1 - 10.10.10.200 Gateway: 10.10.10.1
                                            LAN2: 11.11.1 - 11.11.11.200 Gateway: 111.11.11.1
                                            Any help is appriciated

                                            • 11.11.11.x does belong to the United States Department of Defense. (the DOD owns 11.0.0.0/8)
                                            • 111.11.x.x is part of the Chinese firewall (this IP range seems to be used by China Mobile for PGW/Mobile phone gateway for internet, for the area surrounding Dezhou)

                                            0_1548714433329_2s9j4x.jpg

                                            Well, trolling aside, these rules should normally do the trick.
                                            If it doesn't, you could create a "block" rule specifically matching your LAN net above your two "allow" rules ?

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