List of Rules File?
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?
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.
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.