Open Windows Firewall Ports
Learn how to open ports on the windows firewall
In most cases, you will need to open ports both in Windows Firewall and on the anti-DDoS provider’s dashboard (such as Path.net or GCore)
How to Open Ports in Windows Firewall on Windows Server 2022
Open Control Panel:
Click the Start menu, search for Control Panel, and open it.
Navigate to Windows Defender Firewall:
In the Control Panel, select System and Security.
Then, click Windows Defender Firewall.
Open Advanced Settings:
In the left sidebar, click on Advanced Settings.
This will open the Windows Defender Firewall with Advanced Security window.
Create a New Inbound Rule:
In the left-hand panel, select Inbound Rules.
On the right side, click New Rule.
Select Port:
In the New Inbound Rule Wizard, select Port and click Next.
Choose Protocol and Port Number:
Choose TCP or UDP, depending on the protocol you need.
Enter the specific port number you want to open, then click Next.
Allow the Connection:
Select Allow the connection and click Next.
Apply to Network Profiles:
Choose when the rule applies (Domain, Private, Public) and click Next.
Name the Rule:
Give the rule a recognizable name (e.g., "Port 80 for Web Server") and click Finish.
Outbound Rule (Optional):
Repeat the steps under Outbound Rules if you need to open the port for outbound traffic as well.
Last updated