Connection Security Rules
Cheat sheet · https://pcornel.dk/topic.php?topic=3103
Answer
Connection security rules in Windows Firewall use IPsec to authenticate and optionally encrypt traffic between computers, such as requiring Kerberos-authenticated connections to servers or domain isolation.
Remember
- Connection security rules use IPsec to authenticate or encrypt.
- Domain isolation requires authenticated connections.
- Both sides need matching rules.
First checks
Get-NetFirewallProfile— profiles, enabled, default actions, loggingGet-NetFirewallRule -Enabled True -Direction Inbound— enabled inbound rulesGet-NetFirewallRule -DisplayName '<name>' | Get-NetFirewallPortFilter— ports of a rulenetsh advfirewall monitor show firewall— effective state
Verify in this order
connection security rule → IPsec negotiation → protected traffic
Where it usually breaks
First mismatch in host/interface identity → local config/routing/name state → Windows service/provider → firewall/security/session → remote service → application-visible exchange; preserve identity/native error/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3103