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

    Rule Usage

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 3 Posters 381 Views 3 Watching
    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.
    • K Offline
      kbohlken
      last edited by

      Hello,

      New to pfSense. I'm currently managing a disastrous list of rules from a previous employee that I replaced. Is there a way to see when a rule was last used? I need to clean up the rules and I'm sure not all of these have been used recently. Rules go back for years.

      Thanks

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

        If the previous admin isn't logging the rules to a syslog server, I'd suggest running pfctl -z from Diagnostics -> Command Prompt, it will clear the hit count on the rules and wait.

        When was the firewall rebooted last, the counts would have zeroed?

        Andy

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

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

          Post up your rules.. Lets take a look see if any are just pointless.

          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.07 | Lab VMs 2.8, 25.07

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