Creating firewall rules
Creating a firewall rule in pfSense is easy, even if getting it to do exactly what you want isn't.To begin, navigate to Firewall
| Rules
. The Rules
page has several tabs:
- Each subnet gets its own tab. Thus, every non-VLAN interface gets a separate tab, and every VLAN gets a separate tab.
- The leftmost tab isFloating, which is devoted to floating rules–rules that can apply to more than one interface and that can apply to traffic in both directions.
- If you have configured VPNs, each different VPN protocol gets its own tab (for example, IPsec and OpenVPN):
Creating a rule involves the following steps:
- Once you have navigated to
Firewall
|Rules
, click on the tab for the subnet for which you want to create the rule. - Click on one of the
Add
buttons to add a new rule. One button has an up arrow and the other has a down arrow. TheAdd
button with the up arrow adds a rule to the top of the list, while the one with the down arrow adds a rule to the bottom of the list.Rules are evaluated...