How to block Internet access to apps in Windows 11
To use Windows Defender Firewall to block apps from accessing the Internet in Windows 11, do the following:
- Single Hit the Start button or press the Windows key on your keyboard, then type windows defender firewall and click on the top result in the Start menu.
- When the Windows Defender Firewall window opens, click Advanced Settings on the left.
- Select Outbound Rules from the left panel and click Actions# on the right New Rule under ##.
In the - New Outbound Rule Wizard open here, for Rule Type , select Procedure, and then click the Next step button.
Next, you can choose to block all programs or specific programs. To block a specific application, select - This program path and browse to the location of the application's executable file. After entering the application path, click Next.
Next, make sure - Block Connection is selected and click the Next button.
In the - Profile section of the wizard, make sure all three options (Domain, Private and Public) and click the Next button.
Enter a name for the firewall rule, such as - Block Google and add a description. The name of the rule is required, but the description is optional. When finished, click the Finish button.
#With this rule enabled, your app should not be able to access the internet. In this example, Google Chrome has been blocked, preventing access to the Internet when you launch the web browser.
Attempting to access a website using Chrome while the Internet is blocked will result in an error as shown below.
How to disable application Internet blocking rules on Windows 11
If you have blocked an application from accessing the Internet, but want to grant access, Then yes. You need to disable outbound rules in the Windows Defender Firewall menu you created earlier.
To do this, use the following steps:
Open the - Start Menu, type Windows Defender Firewall, and then click Best Match result.
In - Windows Defender Firewall, click Advanced Settings on the left.
In the next menu, press - Outbound Rules in the left panel.
Find the name of the rule you created earlier (you can sort by name), then right-click it and select - Disable Rule.
You can also select the outbound rule you created and disable or delete it from the - Actions pane on the right .
After you disable or delete an outbound rule, the application you created for it will now connect to the internet.
Protect your Internet connection with Windows Firewall
The steps above should help you block Internet access to applications on your Windows 11 PC. If you decide to restore access, you can disable the rule - this will restore your internet connection. If you delete a rule, you will need to repeat the above steps to recreate it.
Windows Defender Firewall is part of the broader protection provided by Windows Security and is an integrated component designed to protect Windows PCs from malware. Windows isn't the only place you can block internet access - if you're an Android user, you can block websites on Android to help protect the device.
The above is the detailed content of How to block internet access to apps in Windows 11. For more information, please follow other related articles on the PHP Chinese website!