Step 1

Rules for clients and servers

Clients and servers get the same pattern: reach the domain controllers, be blocked from the firewall and every other VLAN, then reach the internet.

15 minutesIn the pfSense admin page
WhereFirewall›Rules›CON_VLAN50_CLIENTS

Client rules, in this order

The source for every rule is CON_VLAN50_CLIENTS subnets.

#ActionProtocolDestinationPortDescription
1PassTCPCON_DCsCON_AD_TCPCON-FW-Clients-AD-TCP
2PassUDPCON_DCsCON_AD_UDPCON-FW-Clients-AD-UDP
3PassICMPCON_DCsanyCON-FW-Clients-AD-Ping
4BlockanyThis FirewallanyCON-FW-Clients-BlockFirewall
5BlockanyCON_InternalanyCON-FW-Clients-BlockInternal
6PassanyanyanyCON-FW-Clients-Internet-Outbound

Rule 4 stops clients reaching the admin page on any of the firewall's addresses. Rule 5 stops them reaching other VLANs. By the time traffic reaches rule 6, only the internet is left.

Server rules

On CON_VLAN30_SERVERS, add the same six with Servers in each description, and one change: make the last rule TCP to any on CON_Web. Servers then reach the internet on ports 80 and 443 only, which covers Windows Update and Microsoft 365.

Remove the temporary rule

Delete CON-FW-Migration-Temp from both interfaces, then select Apply Changes.

Using pfSense as a web filter?

If clients reach the internet through a filter, replace rule 6 with one that allows only the filter's address and ports.

Your progress is kept in this browser only.