How To Open Firewall Ports In Windows 10
This tutorial was written by Tom's Hardware Community member JamieKavanagh. You can find a list of all their tutorials here.
A firewall is an essential aspect of computing and no PC should ever be without one. That’s why Windows has one bundled and active as standard. Windows Firewall occasionally has to be told to let a program communicate with the network, which is where opening ports comes in. If you want to open firewall ports in Windows 10, here’s how you do it.
Firewalls are designed to protect a network from threats. Either threats from the outside trying to get in or threats from the inside trying to get out. It does this by blocking network-enabled ports. Every time a program tries to communicate through this port, the firewall checks its database of rules to see if it is allowed or not. If it doesn’t know, it asks you, which is why you sometimes see prompts asking you if a particular program is permitted to access the internet.
Open firewall ports in Windows 10
You can manually permit a program to access the internet by opening a firewall port. You will need to know what port it uses and the protocol to make this work.
- Navigate to Control Panel, System and Security and Windows Firewall.
- Select Advanced settings and highlight Inbound Rules in the left pane.
- Right click Inbound Rules and select New Rule.
- Add the port you need to open and click Next.
- Add the protocol (TCP or UDP) and the port number into the next window and click Next.
- Select Allow the connection in the next window and hit Next.
- Select the network type as you see fit and click Next.
- Name the rule something meaningful and click Finish.
You have now opened a firewall port in Windows 10!
Stay On the Cutting Edge: Get the Tom's Hardware Newsletter
Get Tom's Hardware's best news and in-depth reviews, straight to your inbox.
Nathaniel Mott is a freelance news and features writer for Tom's Hardware US, covering breaking news, security, and the silliest aspects of the tech industry.
Zero-day Windows NTLM hash vulnerability gets patched by third-party — credentials can be hijacked by merely viewing a malicious file in File Explorer
US govt says Cisco gear often targeted in China's Salt Typhoon attacks on 8 telecommunications providers — issues Cisco-specific advice to patch networks to fend off attacks
-
canadianvice A protip, particularly for gamers: Remember that you may also have to repeat a similar process with your router, and additionally, be aware that Windows' "enable through firewall" quick setting (the one that you can just check a box for) is trash. Often incoming ports will be blocked by default and have to be opened, even if it says otherwise.Reply
I hate the interface on the default firewall manager, so taking advantage of the netsh firewall commands I wrote an app that lets you batch create these with rules like "both ways" and then generates a BAT to run for implementation. Also has click and drag, which is ballin'. -
positiveinflux Thanks for your contribution as well as a reminder for those hosting gaming servers or newcomersReply -
scary_name Well...there seem to something wrong with my edition of windows 10 (besides it keep changing languages every day). I tried the above mentioned procedure, thrice, but Defender refuses to save any of the exceptions I add to it. Even tried a few alternatives. Every time I exit, and re-open, the new rule is gone. I never should have upgraded from Win7..fml.Reply