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

    System Logs / Firewall Not Logging

    Scheduled Pinned Locked Moved Firewalling
    log viewlogging
    12 Posts 3 Posters 1.3k 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.
    • Bob.DigB
      Bob.Dig LAYER 8 @TAC57
      last edited by Bob.Dig

      @TAC57 That Traffic doesn't go to or through the firewall so no wonder you see nothing being logged. It is handled by a switch.

      TAC57T 1 Reply Last reply Reply Quote 0
      • TAC57T
        TAC57 @Bob.Dig
        last edited by

        @Bob-Dig If I was to do the same thing with a computer on my LAN (192.168.30.193) and ping a computer on my DMZ subnet (192.168.31.226) that traffic should get logged by pfSense?

        Is so then I should be see the traffic pass or get block depending on my pfSense rules.

        Bob.DigB johnpozJ 2 Replies Last reply Reply Quote 0
        • Bob.DigB
          Bob.Dig LAYER 8 @TAC57
          last edited by

          @TAC57 True

          TAC57T 1 Reply Last reply Reply Quote 0
          • TAC57T
            TAC57 @Bob.Dig
            last edited by TAC57

            @Bob-Dig Well, I must be doing something wrong. I can ping google.com from my 192.168.31.26 computer. I set the filter source IP address to 192.168.30.193 and then ping 192.168.31.26 from my 192.168.30.193 computer and don't see anything in the log, either blocked or unblocked.

            I also ping google.com from 192.168.30.193, which I get a response, but don't see anything in the firewall dynamic view log.

            Bob.DigB 1 Reply Last reply Reply Quote 0
            • Bob.DigB
              Bob.Dig LAYER 8 @TAC57
              last edited by Bob.Dig

              @TAC57 said in System Logs / Firewall Not Logging:

              I also ping google.com from 192.168.30.193, which I get a response, but don't see anything in the firewall dynamic view log.

              You are right, I also can't see it.
              I call @johnpoz

              Bob.DigB 1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator @TAC57
                last edited by

                @TAC57 said in System Logs / Firewall Not Logging:

                that traffic should get logged by pfSense?

                Why did you tell it to log? Out of the box only default deny is logged. To by default log all allow rules you would have to enable 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.8, 24.11

                TAC57T 1 Reply Last reply Reply Quote 0
                • TAC57T
                  TAC57 @johnpoz
                  last edited by

                  @johnpoz I told it to log, because there is a check box that says "Log packets that are handled by this rule". On reading that I figured it would log the traffic.

                  If the out of the box logs denied traffic, why does it make any difference?

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

                    @TAC57 said in System Logs / Firewall Not Logging:

                    On reading that I figured it would log the traffic.

                    it would - did it create a new state? existing states wouldn't be logged.

                    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

                    TAC57T 1 Reply Last reply Reply Quote 0
                    • TAC57T
                      TAC57 @johnpoz
                      last edited by

                      @johnpoz I have no idea, looks like lots of entries in States. After messing with a rule should I Reset States to clear out the state table?

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

                        @TAC57 said in System Logs / Firewall Not Logging:

                        After messing with a rule should I Reset States

                        would depend on the rule you created.. I you had an allow rule and traffic had previously been allowed and created a state.. And then you say created a block rule.. Yeah you would have to clear that existing state before your traffic would be blocked.

                        If you told a rule to log something, and there was a previous state - how would it back date that log to when the state was created? So yeah you would have to clear an existing states so when a new state was created the rule would log it.

                        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

                        1 Reply Last reply Reply Quote 0
                        • Bob.DigB
                          Bob.Dig LAYER 8 @Bob.Dig
                          last edited by

                          @Bob-Dig said in System Logs / Firewall Not Logging:

                          You are right, I also can't see it.
                          I call @johnpoz

                          Ooops, now I see it... was to late for me that day.

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