Pcornel
Windows · Windows Firewall

Outbound Rules

Cheat sheet · https://pcornel.dk/topic.php?topic=3102

Back to the Topic

Answer

Outbound rules control traffic leaving the computer. The default allows all outbound traffic, but blocking rules or a default-block policy can restrict which programs may connect out.

Remember

  • Outbound is allowed by default.
  • Block rules restrict programs or ports.
  • A default-block policy needs many allow rules.

First checks

  • Get-NetFirewallProfile — profiles, enabled, default actions, logging
  • Get-NetFirewallRule -Enabled True -Direction Inbound — enabled inbound rules
  • Get-NetFirewallRule -DisplayName '<name>' | Get-NetFirewallPortFilter — ports of a rule
  • netsh advfirewall monitor show firewall — effective state

Verify in this order

outbound packet → rules → default action

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=3102

Confirmation

Confirm action

Continue?