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

    hide false positive blocked/rejected firewall entries

    Scheduled Pinned Locked Moved General pfSense Questions
    9 Posts 3 Posters 771 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.
    • I
      imthenachoman
      last edited by

      I understand there will be Log Entries for Legitimate Connection Packets.

      I understand these cannot be filtered out by a FW rule.

      Is it possible to filter them out from the log viewer?

      I have a blanket deny rule and I'm trying to get a better understanding of what is being rejected so I can create very targeted/specific pass rules.

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

        @imthenachoman

        I don’t get the following statement:-

        I have a blanket deny rule and I'm trying to get a better understanding of what is being rejected so I can create very targeted/specific pass rules.

        By default everything is blocked inbound on the wan interface and anything from the lan interface is allowed out.

        Just allow what is needed on your wan interface, you may not need anything as pfSense will allow inbound from the wan if the originating packet came from the lan.

        Andy

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

        johnpozJ I 2 Replies Last reply Reply Quote 0
        • johnpozJ
          johnpoz LAYER 8 Global Moderator @NogBadTheBad
          last edited by

          Can you post up what your seeing - as example of what your wanting to filter out.

          That link is about out of state stuff being denied and log - its normally a sign of an issue.. Be it asymmetrical, or a loss of states, etc.

          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
          • I
            imthenachoman @NogBadTheBad
            last edited by

            @nogbadthebad said in hide false positive blocked/rejected firewall entries:

            By default everything is blocked inbound on the wan interface and anything from the lan interface is allowed out.

            Just allow what is needed on your wan interface, you may not need anything as pfSense will allow inbound from the wan if the originating packet came from the lan.

            My FW rules are very prescriptive. My last FW rule rejects everything that a previous rule doesn't allow.

            @johnpoz said in hide false positive blocked/rejected firewall entries:

            Can you post up what your seeing - as example of what your wanting to filter out.

            Here are two pictures: one of my relevant FW rules and one for the log entries matching the tracker ID for the last one.

            5bcdfba0-557e-4a51-ad2b-785202785d3f-image.png

            99553d57-e2d4-4eee-91d5-2ba1efee3247-image.png
            0ec408ad-ba8a-45e1-907c-395f1039a371-image.png

            In those last two, source is my main machine, and destination is TCP:S on various other devices.

            johnpozJ NogBadTheBadN 2 Replies Last reply Reply Quote 0
            • johnpozJ
              johnpoz LAYER 8 Global Moderator @imthenachoman
              last edited by

              Well if you don't want those to log, then set the rule not to log.

              Or if you just don't want to log that 192.168.10.10 machine - then add a rule above that last rule and set that rule not to log..

              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

              I 1 Reply Last reply Reply Quote 0
              • I
                imthenachoman @johnpoz
                last edited by

                @johnpoz

                I want to see valid rejections. My understanding is that those above are "left over" ones that can't be exuded from logging.

                https://docs.netgate.com/pfsense/en/latest/troubleshooting/log-filter-blocked.html

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

                  Why would you think they are extra?

                  Those are a SYN block, they are not out of state rules.

                  You have a specific rule there that states block, that traffic matches and you have it set to log.. Why would you think it wouldn't log that?

                  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

                  I 1 Reply Last reply Reply Quote 0
                  • I
                    imthenachoman @johnpoz
                    last edited by

                    @johnpoz Doh! I pasted the wrong ones. Sorry. Will get right ones when I get a chance.

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

                      @imthenachoman said in hide false positive blocked/rejected firewall entries:

                      My FW rules are very prescriptive. My last FW rule rejects everything that a previous rule doesn't allow.

                      I was talking about your WAN rules, your screenshot is the LAN or one of the LAN interfaces isn't it as you're doing DNS redirects to the firewall.

                      If you really want to understand whats hitting the firewall send the logs to a syslog server, then look at the data, I send mine to my Synology NAS and can export out if needed to Excel.

                      Andy

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

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