Windows 10 has a built-in firewall like all other versions of the system that you can configure in different ways. In this article, we show the possible configuration options to better secure the incoming and outgoing connections of your PC.
Windows 10, like recent versions of the system, offers various built-in tools to ensure user safety: Windows Defender Antivirus, a ransomware protection from the Fall Creators Update, and a firewall which allows you to permanently filter communications between your computer and the Internet.
This helps, among other things, to prevent hackers or malware from accessing your PC. The reverse is also true since a firewall can prevent your machine from polluting the network.
Enable or disable Windows 10 firewall
By default, Windows 10 firewall is enabled. If you’ve never touched the settings, there is no need to be. Most antiviruses also have a built-in firewall. But that is not a reason to deactivate the one in the system. Microsoft also recommends leaving it always running. This is also part of our advice to protect you from viruses and hackers.
To enable or disable the firewall in Windows 10. Go to Settings> Networks and Internet. Click the Firewall link in the options displayed on the page.
In the left menu, click on ” Enable or disable Windows Firewall And apply the desired action.
Configure Windows Firewall
Block all incoming connections
By choosing this option, the firewall blocks all incoming connections, regardless of the existing rules. This means, even for programs authorized through the firewall. Use it in case you need maximum protection for your PC. When you connect to a public WiFi network for example.
You can still surf the web, send or read your emails or instant messages. The reason is very simple. When visiting a website, your machine initiates the connection. The requested website or web service responds via the created session. The option to block all connections can be found in the same dialog box as that of activating / deactivating the firewall.
Allow or block a program through the firewall
You can in the firewall rules allow / block internet access to applications. For example, if you do not want them to connect to servers to transmit your data. To do this, go to Settings> Networks and Internet> Firewall. Click on Allow an app or feature through Windows Firewall.
From there, check the program to which you want to block internet access and uncheck the box before its name then validate. To re-authorize the application or any other from the list, just check the box. The Private and Public boxes allow you to control the rules depending on whether the computer is connected to a private or public network.
And if the program you want to allow is not in the list, click the option “Authorize an application” below and choose it from the window that opens.
Access advanced firewall configurations
You can also manage permissions from advanced firewall settings. From there, it will be possible to block Internet access to a specific program or service by choosing it from the list or adding a new rule. To do this, it will be enough just to block the outgoing traffic for the specified program.
Normally you shouldn’t have to create a rule for a program since this is done automatically during installation or the first connection attempt. A popup asks you if you want to allow or block the application in question. To change settings later, find the app in the incoming / outgoing traffic rules.
To allow or block Internet access to a program by creating a new rule, go to the outgoing traffic rules from the Firewall screen. On the right, click “New rule”.
On the next screen, select the option Program. Or Port if you want to allow / block one or more ports. Click on Next.
Then on “To the program with access path” and go find it from its installation directory.
You have the choice between allowing or blocking the connection depending on the network types: Domain, Private or Public network. Click on Next.
Assign a name and a description to the rule then validate. The new filter is created and can be changed as needed. The app now has no way to connect to the internet.