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

    pfSense Syslogs

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 2 Posters 742 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.
    • C
      christenjm
      last edited by christenjm

      Does pfSense generate syslogs when a new firewall rule is created or edited etc. ?

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Yes. The ruleset is reloaded when that happens so you will see:

        Jul 15 14:18:39 	check_reload_status 		Syncing firewall
        Jul 15 14:18:40 	check_reload_status 		Reloading filter 
        

        Do you mean does it log the actual rule changes? Not in the system log but the last 30 configs are stored and can be viewed and diff'd at Diagnostics > Backup & Restore > Config History tab.

        Steve

        C 1 Reply Last reply Reply Quote 0
        • C
          christenjm @stephenw10
          last edited by

          @stephenw10
          thank you. Is there a way to send these changes over syslogs

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            Not by default.
            It's not something I've ever tried but you might be able to use the shellcmd option 'afterfilterchangeshellcmd'. If you ran a diff of the current config file against the first backup that would show you the last change. You could redirect that output to the logger. Or export it directly maybe.
            The exact syntax for that is left as an exercise. 😉

            Steve

            C 1 Reply Last reply Reply Quote 0
            • C
              christenjm @stephenw10
              last edited by

              @stephenw10
              Thank you for your reply

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