Updated: 12/05/2021 by When a program or game requires access to the Internet or another network computer, it must be able to send information over a network port. A
firewall protects a computer from unauthorized access and blocks all unnecessary network ports, which prevents a network program from communicating with another computer. Select your computers Windows version from the links below, and follow the steps to allow access to a program through the Windows Firewall. Note Administrator privileges are required to modify program
access through the Windows Firewall. Tip If you're trying to allow access to a multiplayer computer game when the game is run, the Windows Firewall prompts you to allow that program to access the Internet.
Opening a port in the Windows 8 and Windows 10 FirewallTip If you're trying to allow access to a multiplayer computer game, the Windows Firewall prompts you to allow that program to access the Internet when the game is run.
Opening a port in the Windows Vista and Windows 7 FirewallTip If you're trying to allow access to a multiplayer computer game when the game is run, the Windows Firewall prompts you to allow that program to access the Internet.
Windows XP usersTip If you're trying to allow access to a multiplayer computer game when the game is run, the Windows Firewall prompts you to allow that program to access the Internet.
Contents
Windows Firewall, now known as Windows Defender Firewall, is a useful tool for a number of reasons. Though you can use it for several purposes, today we’re going to show you how to block a program from accessing the internet in Windows Firewall. We’ll also show you how to allow an app through Firewall if its connectivity isn’t working. Allow or block internet access of programs and apps Knowing how to block programs in Firewall is useful for several reasons. You may want to prevent it from receiving updates, stop it from sending data back to a remote server, or simply want to know how it functions offline. Conversely, allowing a program through Windows Firewall can help it to function better online. This is especially true if anybody is connecting to your app from the outside world (such as when you’re hosting a game or media server). If you get the “your internet access is blocked – security or firewall settings might be blocking the connection” error, this is also useful, as it lets you return a blocked app to normal functioning. The most user-friendly way to allow block an app in Firewall is, of course, via the Windows Defender Firewall app or security alert. However, we’ll also be showing you how to achieve the same effect via the command-line for pro users or those without a GUI. How To Allow an App through Windows Defender Firewall via Windows Security AlertThe most efficient way to allow a program through a Firewall is to simply tick the right option when you first launch it. Most apps that need firewall access will ask you whether you want to allow access via a Windows Security Alert prompt. Here’s what you need to do when you see it:
How to Allow a Program Through Windows Defender Firewall in Windows Firewall SettingsIf you missed the Security Alert app shortly after you launched the app, you can stop Windows Firewall from blocking internet connectivity by adding it to your allowed list manually. This only takes a minute or so and is very simple through the Control Panel.
How to Remove Allowed App in Windows Firewall SettingsIf you previously allowed an app through Firewall but now regret it, you can rectify it by removing it in Windows Firewall settings. Thankfully, this is pretty easy to do:
How to Allow or Block a Program from Accessing the Internet via Command PromptIf you prefer the command-line, you can change Windows Firewall rules through Command Prompt instead. This is typically faster than jumping through the settings menu if you have the commands memorized. Here’s what you need to do:
How to Remove an Allowed App from Windows Defender Firewall with Command PromptYou can also use Command Prompt to remove apps that you’ve previously allowed in your Firewall. Here’s how:
If you want to allow or block a program in Firewall using Microsoft’s more modern
PowerShell tool, you can do so with the
How to Remove Allowed Windows Firewall App in PowerShellIf you previously added an app to the Firewall via PowerShell but now want to remove, it the process is relatively simple:
How to Open or Close a Port in Windows FirewallAs well as allowing and blocking applications, Windows Defender Firewall lets you open and close specific ports. This may be useful if you’re trying to use SSH for example. You can check our how to open or close a port in Windows Firewall guide to learn how. How to Perform a Network ResetIf you’re still experiencing connectivity issues after allowing an app through your Firewall, you can try performing a Windows Network reset. This will reset all of your settings to default and hopefully fix any strange behavior you’ve been experiencing. It will, however, keep your Firewall rules.How do I allow a firewall to allow certain apps?Select the Start menu, type Allow an app through Windows Firewall, and select it from the list of results. Select Change settings. You might be asked for an administrator password or to confirm your choice. To add an app, select the check box next to the app, or select Allow another app and enter the path for the app.
How do I stop firewall from blocking a program?To manage the whitelist in the Windows Firewall, click Start, type firewall and click Windows Defender Firewall. Click Allow a program or feature through Windows Firewall (or, if you're using Windows 10, click Allow an app or feature through Windows Firewall).
How do I add programs to my firewall whitelist?Open the “Start” menu.. Click on “Settings.”. In the “Find a Setting” search box, type in “Firewall.”. Click on “Windows Firewall.”. On the left, click on “Allow an app or feature through Windows Firewall.”. Now, the “Allowed App” windows will pop up.. How do I firewall a program?How to Block a Program with Windows Firewall Windows 10. Open Windows Firewall window.. Click Advanced settings.. Enter into Firewall rule creation window.. Create a new Firewall rule.. Select the target program.. Name the Firewall rule.. You can click Start and type Windows Defender Firewall.. |