Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Multiple blockings in firewall logs

    Scheduled Pinned Locked Moved Firewalling
    9 Posts 5 Posters 1.4k 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.
    • D Offline
      dims
      last edited by

      I see a log of block events in

      Status - System Logs - Firewall - Normal View

      events are of UDP and when I click at block icon it says

      Unfortunately, I can't find any rule with this name in Firewall config.

      What is it?

      1 Reply Last reply Reply Quote 0
      • V Offline
        viragomann
        last edited by

        The default deny rule isn't shown in the firewall rule list. It's an imaginary rule placed at the end of the rule set which blocks everything. So everything which isn't permitted by any rule above is blocked.

        You can disable the logging of this rule in the log settings.

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

          So what part of "DEFAULT Deny Rule IPv4" is confusing I'm curious??

          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.11 | Lab VMs 2.8.1, 25.11

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

            So what part of "DEFAULT Deny Rule IPv4" is confusing I'm curious??

            Probably the part where you don't see that rule in your ruleset.  The default deny rule should be visible at the bottom but greyed-out so you can't fiddle with it.

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

              Somewhat agree, I think ALL rules should be listed for example the rules that get put in place when you enabled dhcp server, etc.

              I think they don't show some of these rules because most of them would just confuse the shit out of users ;)  But its pretty clear in any docs you read there is a default deny rule!

              https://doc.pfsense.org/index.php/Firewall_Rule_Basics
              Where no user-configured firewall rules match, traffic is denied

              https://doc.pfsense.org/index.php/Firewall_Rule_Troubleshooting
              If it says "Default Deny", and the packet should have been allowed, then it did not match any rule in the ruleset.

              https://doc.pfsense.org/index.php/Firewall_Logs
              The Firewall logs at Status > System Logs on the Firewall tab show all events logged by the firewall. By default, this includes connections blocked by the default deny rule.

              It might be nice if there was a checkbox for say advanced view of the rules that shows everything.. But come on, maybe the user didn't understand what "default" means??

              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.11 | Lab VMs 2.8.1, 25.11

              1 Reply Last reply Reply Quote 0
              • M Offline
                mer
                last edited by

                That's why there's "pfctl -sr".  Shows the expansions of any aliases, all the "quicks" on the user rules.

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

                  User can not figure out what default deny rule means, and you think he is going to figure out what the output of pfctl -sr means? ;) yeah ok sure ROFL…

                  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.11 | Lab VMs 2.8.1, 25.11

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    dims
                    last edited by

                    @viragomann:

                    So everything which isn't permitted by any rule above is blocked.

                    I have empty rule list, so it should be everything blocked then?

                    1 Reply Last reply Reply Quote 0
                    • V Offline
                      viragomann
                      last edited by

                      That's right.

                      But by default pfSense has a "default allow rule" on LAN interface to allow any outgoing traffic from LAN. If you've deleted this one, everything should be blocked.

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