Step 2

Rules for domain controllers and management

Domain controllers need less than you might expect: DNS lookups through the firewall, internet time and updates. Management gets everything.

10 minutesIn the pfSense admin page

Domain controller rules

WhereFirewall›Rules›CON_VLAN20_DCS

The source for every rule is CON_VLAN20_DCS subnets.

#ActionProtocolDestinationPortDescription
1PassTCP/UDPCON_VLAN20_DCS address53CON-FW-DCs-DNS-Local
2BlockanyThis FirewallanyCON-FW-DCs-BlockFirewall
3BlockanyCON_InternalanyCON-FW-DCs-BlockInternal
4PassUDPany123CON-FW-DCs-NTP-Outbound
5PassTCPanyCON_WebCON-FW-DCs-Web-Outbound

Rule 1 lets the domain controllers forward outside DNS lookups to the firewall. Replies to clients and servers pass by themselves, because pfSense remembers each connection it allowed in.

Management rules

WhereFirewall›Rules›CON_VLAN10_MGMT
#ActionProtocolDestinationPortDescription
1PassTCPThis Firewall443CON-FW-Mgmt-FirewallGUI
2PassanyanyanyCON-FW-Mgmt-All
Add the management rules first

Check you can open https://10.0.10.1 from the management VLAN before you remove the old LAN's address. pfSense's built-in anti-lockout rule only protects the LAN interface.

Monitoring

Leave VLAN 40 with no rules until you add a monitoring tool. An interface with no rules blocks everything.

Your progress is kept in this browser only.