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

    List of Rules File?

    Scheduled Pinned Locked Moved Firewalling
    3 Posts 3 Posters 1.7k 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.
    • B
      bsmither
      last edited by

      I've been analyzing the pfSense 2.0 firewall logs in the WebGUI and have found some entries that has prompted me to know what the rule is that corresponds to its number.

      The Dynamic view gives only the last 50 entries and therefore is of no use to me.

      Is there a way to get a list of all the rules and their corresponding number?

      Is "rule 2/0" on the LAN tab a different rule than rule 2 that might be found on a WAN log entry?

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        You can run "pfctl -vvsr" and see the rule numbers for everything in the main list.

        Only exceptions to that might be rules under anchors (like for upnp)

        If you click the icon ("x" for block) next to the firewall log entry it looks up the rule for you.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • M
          Maxamoto
          last edited by

          Another nice feature is to browse to http://x.x.x.x/status.php. Might give you more info that you wanted, but it's a quick and dirty way to get info on pretty much your entire system.

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