Configuring Windows Firewall Rules
Windows troubleshooting
firewall
Windows Firewall
rules
security
By Cade · Updated 03/05/26 07:34 AM
Windows Firewall controls inbound and outbound network traffic. For most users the default settings are appropriate, but IT sometimes needs to add rules for specific applications. Access the advanced configuration via Windows Defender Firewall with Advanced Security (wf.msc).
To allow a specific application: Inbound Rules > New Rule > Program > browse to the executable > Allow the connection. Choose which profiles (Domain, Private, Public) the rule applies to. Domain profile applies on corporate networks; use it for internal tools. Restrict Public profile rules carefully.
For port-based rules: New Rule > Port > enter the port number and protocol (TCP/UDP). Always document what rule was added and why — unexplained firewall rules are a security risk. For domain-joined machines, deploy firewall rules via Group Policy (Computer Configuration > Windows Settings > Security Settings > Windows Firewall) to ensure consistency.