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

    Firewall rules for 2 subnets (cant print)

    Scheduled Pinned Locked Moved Firewalling
    27 Posts 7 Posters 2.5k 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
      galt007 @akuma1x
      last edited by

      @akuma1x I think Ill just go to 192.xxx. Seems best for the long haul

      Thanks Everyone! Much appreciated.

      A johnpozJ 2 Replies Last reply Reply Quote 0
      • A
        akuma1x @galt007
        last edited by akuma1x

        @galt007 Yeah, that would work. Just be careful and check what your ISP modem/router hands out as private space on it's LAN port(s) or wifi network.

        To do this, if you already don't know the address space, plug in like a laptop, or connect to wifi if available, and see what 192.x.x.x space your computer gets from the ISP modem. You typically don't want to use the same space as that. Then, on the pfsense LAN side, pick a different range. Here's an example.

        ISP modem LAN network = 192.168.0.0/24

        That means anything you connect to ISP modem could get possible addresses 192.168.0.1 - thru 192.168.0.254

        So, then set your pfsense LAN network range to be something else, like 192.168.10.x/24 or 192.168.20.x/24 or similar. Make sense?

        G 1 Reply Last reply Reply Quote 0
        • G
          galt007 @akuma1x
          last edited by

          @akuma1x Makes sense. Thanks @akuma1x

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

            @galt007 Unless your company was using same network as you, or overlapping network using 10.a.b.X shouldn't be a problem.

            Unless they are using a /8 or /16 mask odds seem pretty high that they would be using 10.30.50/24 or 10.30.55/24 ?

            If they are using such masks?? My 2nd reason applies to them as well ;)

            the 172.16-31 network is prob less likely to have conflict, its rare you see those.. But I do see 10/8 way more than you should, which should be zero ;) or 192.168/16 again you should never see anyone using up the whole freaking network space for 1 segment... Doing so is reason 2 on my list ;)

            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 24.11 | Lab VMs 2.8, 24.11

            G 1 Reply Last reply Reply Quote 0
            • G
              galt007 @johnpoz
              last edited by

              @johnpoz Cant recall exactly what the subnet was.

              I'm going to change my 20.30.x.x to 192.168.x.x after I do a quick check on what the ISP assigns as a default.

              Currently I have 4 subnets

              20.30.50.x
              20.30.55.x
              20.30.60.x
              20.30.65.x

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

                @galt007 said in Firewall rules for 2 subnets (cant print):

                on what the ISP assigns as a default.

                Are you behind a nat? I get a public IP from my isp.. Do you have a isp device, can you not put it into bridge mode so you get a public IP on pfsense wan?

                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 24.11 | Lab VMs 2.8, 24.11

                G AndyRHA 2 Replies Last reply Reply Quote 0
                • G
                  galt007 @johnpoz
                  last edited by galt007

                  @johnpoz I do get an IP assigned by the ISP. 47.x.x.x. I dont use my ISP router at all.

                  1 Reply Last reply Reply Quote 0
                  • AndyRHA
                    AndyRH @johnpoz
                    last edited by

                    @johnpoz My ISP router is in DMZ mode and I get a public IP, but the router still uses 192.168.1.0/24 so I cannot use that network on the inside... {insert bad word here} ATT

                    o||||o
                    7100-1u

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

                      @andyrh said in Firewall rules for 2 subnets (cant print):

                      but the router still uses 192.168.1.0/24 so I cannot use that network on the inside.

                      Huh? Are you using it for wireless or something? You could for sure use 192.168.1 on the inside.. As long as you had no need to get to this isp device IP for some gui or something.

                      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 24.11 | Lab VMs 2.8, 24.11

                      AndyRHA 1 Reply Last reply Reply Quote 0
                      • AndyRHA
                        AndyRH @johnpoz
                        last edited by

                        @johnpoz I do on occasion need to get to the ATT Router, but it does not work if I use 192.168.1.0/24 on the inside because pfSense tries to route that network to the ATT router.
                        I did not try too hard as I am not yet close to using up the other 192.168 networks... but I am working on it. 😆

                        o||||o
                        7100-1u

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