Guide

Create firewall aliases

An alias is a named list. Rules that use aliases stay short, and adding a third domain controller later means editing one list.

10 minutesIn the pfSense admin page
What improves

Firewall rules stay short and easy to read.

Why it matters

Rules full of raw addresses and ports are easy to get wrong and slow to update.

How you do it

Create named lists for your servers, networks and ports, then use the names in rules.

Every name, address and value in this guide is an example. Replace them with your own.

WhereFirewall›Aliases›IP or Ports›Add
NameTypeContents
CON_DCsHost(s)10.0.20.10, 10.0.20.11
CON_InternalNetwork(s)10.0.10.0/24, 10.0.20.0/24, 10.0.30.0/24, 10.0.40.0/24, 10.0.50.0/24
CON_AD_TCPPort(s)53, 88, 135, 389, 445, 464, 636, 3268, 3269, 9389, 49152:65535
CON_AD_UDPPort(s)53, 88, 123, 389, 464
CON_WebPort(s)80, 443

Select Apply Changes after the last one. Renaming an alias later updates every rule that uses it.

What the AD ports are for

PortUsed for
53DNS
88, 464Kerberos sign-in and password changes
123Time
135, 49152 to 65535RPC, used by Group Policy and many admin tools
389, 636, 3268, 3269LDAP and the Global Catalog
445SMB, for Group Policy files and sign-in scripts
9389AD web services, used by the PowerShell AD commands
Your progress is kept in this browser only.