Test both sides of every rule: what should work, and what should fail. A rule set that only passes the first half is not finished.
From a client PC
CON-WS-001
# Should work nltest /dsgetdc:ad.contoso.com /force gpupdate /force Test-NetConnection www.microsoft.com -Port 443 -InformationLevel Quiet # True # Should fail Test-NetConnection 10.0.30.20 -Port 3389 -InformationLevel Quiet # False: a server Test-NetConnection 10.0.50.1 -Port 443 -InformationLevel Quiet # False: the admin page Test-NetConnection 10.0.10.1 -Port 443 -InformationLevel Quiet # False: the admin page
From a server
CON-SYNC-01
# Should work Test-ComputerSecureChannel # True Test-NetConnection login.microsoftonline.com -Port 443 -InformationLevel Quiet # True w32tm /resync # Should fail Test-NetConnection 10.0.50.100 -Port 445 -InformationLevel Quiet # False: a client Test-NetConnection 10.0.30.1 -Port 443 -InformationLevel Quiet # False: the admin page
From a domain controller
CON-DC-01
# Should work Resolve-DnsName microsoft.com w32tm /resync repadmin /replsummary # Should fail Test-NetConnection 10.0.30.20 -Port 445 -InformationLevel Quiet # False: a server Test-NetConnection 10.0.20.1 -Port 443 -InformationLevel Quiet # False: the admin page
When something is blocked that should pass
WhereStatus›System Logs›Firewall
Each blocked line names the interface, the source, the destination and the port. Add the port to the right alias, or move a Pass rule above the Block that caught it.
Done when
Check
Every "should work" test passes and every "should fail" test returns False. Download a configuration backup.


