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

    Two subnets

    Scheduled Pinned Locked Moved Firewalling
    47 Posts 4 Posters 3.3k Views 4 Watching
    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.
    • A Offline
      Antibiotic @johnpoz
      last edited by

      @johnpoz But have to put port forward rule for each device, impossible to make one rule for all clients for example behind 192.168.12 to 192.168.10 behind

      pfSense plus 25.07.1 on Topton mini PC
      CPU: Intel N100
      NIC: Intel i-226v 4 pcs
      RAM : 16 GB DDR5
      Disk: 128 GB NVMe
      Brgds, Archi

      johnpozJ 1 Reply Last reply Reply Quote 0
      • johnpozJ Offline
        johnpoz LAYER 8 Global Moderator @Antibiotic
        last edited by

        @Antibiotic Yeah you would need to create port forwards for anything you want to access behind this nat router.. Again going to stress that this solution is not very good.. Especially if you want to talk to stuff behind this router.

        And no you can not port forward say port 80 to all devices behind, without having a different IP on its wan.

        You could turn off its nat, and just use it as a downstream router where your 11 network is the transit, this would be a better solution.. Then you wouldn't need to do any port forwards. And you could access everything behind on the 12 network via its actual IP.

        An intelligent man is sometimes forced to be drunk to spend time with his fools
        If you get confused: Listen to the Music Play
        Please don't Chat/PM me for help, unless mod related
        SG-4860 25.07.1 | Lab VMs 2.8, 25.07.1

        A 1 Reply Last reply Reply Quote 0
        • A Offline
          Antibiotic @johnpoz
          last edited by Antibiotic

          @johnpoz But if will switch off NAT on Wireless router working in router mode connected to LAN of pfSense , how clients behind this Wireless router will have internet access or me don't understand something? Like understanding NAT to make 1 IP on WAN for all clients in this network but in this case how will all this work?

          pfSense plus 25.07.1 on Topton mini PC
          CPU: Intel N100
          NIC: Intel i-226v 4 pcs
          RAM : 16 GB DDR5
          Disk: 128 GB NVMe
          Brgds, Archi

          johnpozJ 1 Reply Last reply Reply Quote 0
          • johnpozJ Offline
            johnpoz LAYER 8 Global Moderator @Antibiotic
            last edited by johnpoz

            @Antibiotic yeah your not understanding is my guess.

            You can use this 2nd router as just a router, and firewall I would take it.. Not sure what firmware your running on it.

            You would just set it up as a downstream router. It just won't nat the IP ranges. Pfsense would nat any traffic from this downstream network, just how its doing now for your 10 and 11 networks.

            pfsense-layer-3-switch.png

            See the left setup with a downstream router (L3 switch doing routing).. That would be your "nat router"

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 25.07.1 | Lab VMs 2.8, 25.07.1

            A 4 Replies Last reply Reply Quote 0
            • A Offline
              Antibiotic @johnpoz
              last edited by

              @johnpoz I have Asus merlin firmware RT-AX86U Pro router

              pfSense plus 25.07.1 on Topton mini PC
              CPU: Intel N100
              NIC: Intel i-226v 4 pcs
              RAM : 16 GB DDR5
              Disk: 128 GB NVMe
              Brgds, Archi

              A 1 Reply Last reply Reply Quote 0
              • A Offline
                Antibiotic @johnpoz
                last edited by

                @johnpoz Asus router have on WAN option Forward local domain queries to upstream DNS. Is it better to keep ON, because have pfBlockerNG on pfSense? or it doesn't matter

                pfSense plus 25.07.1 on Topton mini PC
                CPU: Intel N100
                NIC: Intel i-226v 4 pcs
                RAM : 16 GB DDR5
                Disk: 128 GB NVMe
                Brgds, Archi

                1 Reply Last reply Reply Quote 0
                • A Offline
                  Antibiotic @johnpoz
                  last edited by

                  @johnpoz Thank you for perfect explanation with a schemes , have in mind a lot new! You are the best)))

                  pfSense plus 25.07.1 on Topton mini PC
                  CPU: Intel N100
                  NIC: Intel i-226v 4 pcs
                  RAM : 16 GB DDR5
                  Disk: 128 GB NVMe
                  Brgds, Archi

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    Antibiotic @johnpoz
                    last edited by

                    @johnpoz So finally better to switch OFF NAT and firewall on Wireless router and set on pfSense router interface LAN 192.168.11.1/29 not 24. Is it correct?

                    pfSense plus 25.07.1 on Topton mini PC
                    CPU: Intel N100
                    NIC: Intel i-226v 4 pcs
                    RAM : 16 GB DDR5
                    Disk: 128 GB NVMe
                    Brgds, Archi

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

                      @Antibiotic Invalid DHCP pool 192.168.11.10 - 192.168.11.30 for WIFI subnet 192.168.11.0/29 detected. Please correct the settings in Services, DHCP Server

                      pfSense plus 25.07.1 on Topton mini PC
                      CPU: Intel N100
                      NIC: Intel i-226v 4 pcs
                      RAM : 16 GB DDR5
                      Disk: 128 GB NVMe
                      Brgds, Archi

                      johnpozJ 1 Reply Last reply Reply Quote 0
                      • johnpozJ Offline
                        johnpoz LAYER 8 Global Moderator @Antibiotic
                        last edited by

                        @Antibiotic if you set a /29 on pfsense interface - how would you think you could have a dhcp range of .10 to 30?

                        You don't have to use the /29 as your transit.. That just a example, you can use any network you want for your transit network.

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 25.07.1 | Lab VMs 2.8, 25.07.1

                        A 1 Reply Last reply Reply Quote 0
                        • A Offline
                          Antibiotic @johnpoz
                          last edited by

                          @johnpoz So can leave 192.168.11.1/24?

                          pfSense plus 25.07.1 on Topton mini PC
                          CPU: Intel N100
                          NIC: Intel i-226v 4 pcs
                          RAM : 16 GB DDR5
                          Disk: 128 GB NVMe
                          Brgds, Archi

                          johnpozJ 1 Reply Last reply Reply Quote 0
                          • johnpozJ Offline
                            johnpoz LAYER 8 Global Moderator @Antibiotic
                            last edited by

                            @Antibiotic sure.. keep in mind a transit network shouldn't have any "hosts" on it - so not sure why would would "need" a /24.. but sure you can use it as long as doesn't overlap with other networks. When you put hosts on a transit network your most likely going to run into asymmetrical routing problems.

                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                            If you get confused: Listen to the Music Play
                            Please don't Chat/PM me for help, unless mod related
                            SG-4860 25.07.1 | Lab VMs 2.8, 25.07.1

                            A 1 Reply Last reply Reply Quote 0
                            • A Offline
                              Antibiotic @johnpoz
                              last edited by Antibiotic

                              @johnpoz So you mean better do not put any devices in LAN of Wireless router?or what it mean hosts?

                              pfSense plus 25.07.1 on Topton mini PC
                              CPU: Intel N100
                              NIC: Intel i-226v 4 pcs
                              RAM : 16 GB DDR5
                              Disk: 128 GB NVMe
                              Brgds, Archi

                              johnpozJ 1 Reply Last reply Reply Quote 0
                              • johnpozJ Offline
                                johnpoz LAYER 8 Global Moderator @Antibiotic
                                last edited by

                                @Antibiotic yeah a device.. be it a phone or pc or anything that is going to talk to anything.. Ie not a router.. These devices do not belong on a "transit/connector" network..

                                An intelligent man is sometimes forced to be drunk to spend time with his fools
                                If you get confused: Listen to the Music Play
                                Please don't Chat/PM me for help, unless mod related
                                SG-4860 25.07.1 | Lab VMs 2.8, 25.07.1

                                A 1 Reply Last reply Reply Quote 0
                                • A Offline
                                  Antibiotic @johnpoz
                                  last edited by Antibiotic

                                  @johnpoz So , again misunderstanding, I can use LAN of Wireless router to connect devices but this devices should belong to transit network. Is it correct? Should be in network for example 192.168.11.0/24

                                  pfSense plus 25.07.1 on Topton mini PC
                                  CPU: Intel N100
                                  NIC: Intel i-226v 4 pcs
                                  RAM : 16 GB DDR5
                                  Disk: 128 GB NVMe
                                  Brgds, Archi

                                  johnpozJ 1 Reply Last reply Reply Quote 0
                                  • johnpozJ Offline
                                    johnpoz LAYER 8 Global Moderator @Antibiotic
                                    last edited by

                                    @Antibiotic dude if your going to use your 11 network to connect your router.. Then those should be the only thing on that network pfsense and your downstream router.

                                    Put your stuff on either the 10 network or the 12 network behind your router...

                                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                                    If you get confused: Listen to the Music Play
                                    Please don't Chat/PM me for help, unless mod related
                                    SG-4860 25.07.1 | Lab VMs 2.8, 25.07.1

                                    A 1 Reply Last reply Reply Quote 0
                                    • A Offline
                                      Antibiotic @johnpoz
                                      last edited by

                                      @johnpoz So LAN of Wireless router should set for example 192.168.50.1 , Its correct?

                                      pfSense plus 25.07.1 on Topton mini PC
                                      CPU: Intel N100
                                      NIC: Intel i-226v 4 pcs
                                      RAM : 16 GB DDR5
                                      Disk: 128 GB NVMe
                                      Brgds, Archi

                                      johnpozJ 1 Reply Last reply Reply Quote 0
                                      • johnpozJ Offline
                                        johnpoz LAYER 8 Global Moderator @Antibiotic
                                        last edited by

                                        @Antibiotic what? Yes you can use any network you want, as long as its doesn't overlap with yoru lan (10 network) or your lan 2 (11 network)...

                                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                                        If you get confused: Listen to the Music Play
                                        Please don't Chat/PM me for help, unless mod related
                                        SG-4860 25.07.1 | Lab VMs 2.8, 25.07.1

                                        A 1 Reply Last reply Reply Quote 0
                                        • A Offline
                                          Antibiotic @johnpoz
                                          last edited by

                                          @johnpoz Thank you very much)))

                                          pfSense plus 25.07.1 on Topton mini PC
                                          CPU: Intel N100
                                          NIC: Intel i-226v 4 pcs
                                          RAM : 16 GB DDR5
                                          Disk: 128 GB NVMe
                                          Brgds, Archi

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

                                            @Antibiotic
                                            pfSense LAN static 192.168.11.1/29 DCHP POOL 192.168.11.1-192.168.11.6
                                            Wireless router WAN :
                                            IP Address static 192.168.11.2
                                            Subnet Mask 255.255.255.0
                                            Default Gateway 192.168.11.1
                                            DNS 192.168.11.1
                                            Wireless router LAN:
                                            IP Address192.168.13.1
                                            Subnet Mask 255.255.255.0
                                            DCHP POOL 192.168.13.1-192.168.13.5
                                            Wireless router NAT and Firewall disabled, router itself have internet but Laptop and Phones, no any internet, please what I'm doing wrong?

                                            pfSense plus 25.07.1 on Topton mini PC
                                            CPU: Intel N100
                                            NIC: Intel i-226v 4 pcs
                                            RAM : 16 GB DDR5
                                            Disk: 128 GB NVMe
                                            Brgds, Archi

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