Rogue Security Wiki

📘 Creating a VLAN in pfSense

Written by: Dylan Barrett
Steps Recorded on: July 20, 2025


🔧 VLAN Creation

  1. Navigate to Interfaces → VLANs in the pfSense web GUI.
  2. Click Add.
  3. Set the following:
    • Parent Interface (e.g., em0, ix0, etc.)
    • VLAN Tag
    • (Optional) VLAN Priority
    • Description for the VLAN
  4. Click Save, then Apply Changes.
    pfsense_interfaces_vlans.png

📑 Assign the VLAN to an Interface

  1. Go to Interfaces → Assignments.
  2. Use the last dropdown to select the VLAN you just created and click Add.
    pfsense_new_interfacae_assignment.png

⚙️ Configure the New Interface

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

📡 Enable DHCP for VLAN

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

🔐 Create Basic Firewall Rules

  1. Navigate to Firewall → Rules, select the VLAN interface tab.
  2. 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.


✅ Next Steps


🔙 Back to pfSense Docs