VLANs only separate networks if the firewall limits what passes between them. This guide lets each VLAN reach what it needs and blocks the rest.
Each network reaches only what it needs.
VLANs alone separate nothing. The firewall rules decide what crosses between them.
Write allow rules for clients, servers, domain controllers and management, block the rest, then test.
Every name, address and value in this guide is an example. Replace them with your own.
How pfSense reads rules
- Rules sit on the interface where traffic enters the firewall.
- pfSense reads them from the top and uses the first one that matches.
- Anything that matches no rule is blocked.
What each VLAN may do
| VLAN | May reach | Blocked |
|---|---|---|
| 10 Management | Everything, including the admin page | Nothing |
| 20 Domain controllers | DNS on the firewall, internet time, web for updates | Other VLANs, the admin page |
| 30 Servers | The domain controllers on AD ports, web on 80 and 443 | Clients, other VLANs, the admin page |
| 40 Monitoring | Nothing yet | Everything |
| 50 Clients | The domain controllers on AD ports, the internet | Servers, other VLANs, the admin page |
The two domain controllers talk to each other inside VLAN 20, so the firewall never sees that traffic.
The route
- Create firewall aliases
Named lists of addresses and ports.
- Rules for clients and servers
- Rules for domain controllers and management
- Test what passes and what does not
- Isolate a test network
Optional, for security testing machines.
Describe every rule as CON-FW-<Purpose>-<Direction>, such as CON-FW-Clients-AD-TCP. The description shows in the logs, so a blocked connection tells you which rule stopped it.


