Written by: Dylan Barrett
Steps Recorded on: July 20, 2025
- Navigate to Interfaces → VLANs in the pfSense web GUI.
- Click Add.
- Set the following:
- Parent Interface (e.g.,
em0
, ix0
, etc.)
- VLAN Tag
- (Optional) VLAN Priority
- Description for the VLAN
- Click Save, then Apply Changes.

- Go to Interfaces → Assignments.
- Use the last dropdown to select the VLAN you just created and click Add.

- Click the interface name (e.g.,
OPT1
, VLAN10
) to edit it.
- Enable the interface.
- Select Static IPv4 or DHCP:
- If static, assign an IP (e.g.,
192.168.10.1/24
)
- Click Save, then Apply Changes.

- Go to Services → DHCP Server.
- Select the interface you just configured.
- Check Enable DHCP Server on this interface.
- Set the Address Range (e.g.,
192.168.10.100
to 192.168.10.200
).
- Click Save, then Apply Changes.

- Navigate to Firewall → Rules, select the VLAN interface tab.
- Add rules to allow the necessary outbound traffic for the devices.
Here are the default rules I typically add to new interfaces:
Protocol |
Source |
Port |
Destination |
Port |
Gateway |
IPv4 |
Subnet |
* |
* |
80 |
* |
IPv4 |
Subnet |
* |
* |
443 |
* |
IPv4 |
Subnet |
* |
* |
53 |
* |
⚠️ These are basic allow rules for HTTP, HTTPS, and DNS. You should restrict access further for guest or IoT VLANs.
- Test connectivity from a client device on the VLAN.
- Add additional firewall rules for DNS, NTP, ICMP, or inter-VLAN access as needed.
- Set up VLAN tagging on switches and APs if applicable.