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

    [Solved] Isn't these two rules the same?

    Scheduled Pinned Locked Moved Firewalling
    10 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.
    • F
      furom
      last edited by furom

      Hi,

      I had a rule for DNS which has worked fine, now I found a new block in the log, which is what I believe the same thing? So why was DNS blocked for 10.2 when the above rule was in effect?

      7c147086-80b9-4009-a105-2ee90a281979-image.png

      S chpalmerC johnpozJ 3 Replies Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @furom
        last edited by

        @furom is it this?
        https://docs.netgate.com/pfsense/en/latest/troubleshooting/log-filter-blocked.html

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote 👍 helpful posts!

        F 1 Reply Last reply Reply Quote 0
        • F
          furom @SteveITS
          last edited by

          @steveits said in Isn't these two rules the same?:

          @furom is it this?
          https://docs.netgate.com/pfsense/en/latest/troubleshooting/log-filter-blocked.html

          I don't think so... It looks like an ordinary DNS request, not following anything particular
          7f51d888-3b2f-4df2-983e-8a2b97710961-image.png

          1 Reply Last reply Reply Quote 0
          • chpalmerC
            chpalmer @furom
            last edited by chpalmer

            @furom

            No they are not. I am going to guess that 192.168.10.2 is on the "Private" subnet??..

            The first firewall rule is pointed at the same subnet.

            The second points to another subnet which you have not provided that name.

            But should point to simply 192.168.1.1 OR.. if you have the DNS service of your choice active on your Private firewall address then
            assuming 192.168.10.1 "this firewall"

            Triggering snowflakes one by one..
            Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

            chpalmerC F 2 Replies Last reply Reply Quote 1
            • chpalmerC
              chpalmer @chpalmer
              last edited by

              @chpalmer

              Since from your log entries your client device at 192.168.10.2 is already programmed to look to 192.168.1.1 then make your firewall rule match on the 192.168.10.0 subnet.

              Triggering snowflakes one by one..
              Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

              1 Reply Last reply Reply Quote 0
              • F
                furom @chpalmer
                last edited by

                @chpalmer Thanks! That clears it up a bit for me. I thought they essentially were the same and thus intrigued. :)

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

                  @furom the only way that first rule would be the same as rule below it, is if your network was say a /16, 192.168.x.x and 192.168.10.2 is on private net, and so its 192.168.1.1

                  Is that the case? What is the private net actual network 192.168.?.?/?

                  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.7.2, 24.11

                  chpalmerC F 2 Replies Last reply Reply Quote 0
                  • chpalmerC
                    chpalmer @johnpoz
                    last edited by

                    @johnpoz said in Isn't these two rules the same?:
                    if your network was say a /16, 192.168.x.x and 192.168.10.2 is on private net, and so its 192.168.1.1

                    I was wondering that but figured it was a stretch.. (in more ways than one ;) )

                    Triggering snowflakes one by one..
                    Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

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

                      @chpalmer said in Isn't these two rules the same?:

                      figured it was a stretch

                      you would be surprise how many users of /16 or 10/8 ;) drives me nuts to be honest... Lets use up 1 of the 3 netblocks of all of rfc1918 for 1 segment heheh

                      Maybe they are using 192.168.0.0/20

                      The other thing that I can't figure out is why do people sill mention network classes A,B,C etc... I mean those went away 30 some years go when cidr came out.. Back in like 93, I remember networking before that, etc. But then again I am a really old fart.. But you still it come up all the time - which blows my mind..

                      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.7.2, 24.11

                      1 Reply Last reply Reply Quote 0
                      • F
                        furom @johnpoz
                        last edited by

                        @johnpoz said in Isn't these two rules the same?:

                        @furom the only way that first rule would be the same as rule below it, is if your network was say a /16, 192.168.x.x and 192.168.10.2 is on private net, and so its 192.168.1.1

                        Is that the case? What is the private net actual network 192.168.?.?/?
                        Hi,
                        Usually I keep my nets as small as possible, like /28 or /29 so, sorry, no /16 here... :)

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