On the “Action” screen, we can choose what we want the the Windows Firewall rule to do.
How to open or close a port in Windows 10 Firewall.
You can seperate different ports by a comma, or add a “-” between two numbers to add a range of ports to your Windows firewall rule. Check “Specific local ports” and enter the Windows 10 ports you want to open or block. Now that you’ve selected your protocol, turn your eye to the “Does this rule apply to all local ports or specific local ports” heading.
Enter the Windows 10 ports you want to open or close.
We won’t dive into the differences between the two, as the software you’re using probably has a list of the exact ports you need to open and which protocols. There are two choices wehen it comes to Windows 10 ports – TCP and UDP.
Select the ‘Port’ rule type and press ‘Next’.
In the left side-bar of the Firewall, click the “Advanced settings” header and press “Yes” to any admin prompts.Īdding this Windows Firewall Rule will let us control the traffic it does and doesn’t let through. Press the Start button and type “Windows Defender Firewall”.