Home >Common Problem >How to block website access using firewall on Windows 11/10
There are many websites on the internet trying to attack your system and you may end up losing your data. Additionally, if you want certain websites not accessible to other users on your system, you may want to use Windows Firewall to block those websites or IP addresses from being accessed on your system. We explain in a simple way how to block websites using firewall in this article. Please read on.
Step 1: Visit any IP finder website on your browser such as IPVOID.
Step 2: This will open in a new tab.
Step 3: Now enter the website you want to block on your system.
Step 4: Then, click the Find Website IP button as shown below.
Step 5: After retrieving the IP addresses of the website, select them and copy and paste them on notepad or any other editor tool for future reference.
Step 6: After writing down the IP address, close the IPVOID tab on your browser.
Step 7: To open the Run dialog box, press the Windows R key on your keyboard.
Step 8: Type firewall.cpl in the Run box and press the Enter key to open the Windows Firewall window.
Step 9: In the Windows Firewall window, click Advanced Settings on the left panel as shown below.
Step 10: Under Windows Defender Firewall, right-click Outbound Rules and select New Rule## from the context menu #,As follows.
Step 11: Select theCustomize radio button and click Next to continue as shown below.
Step 12: In the next window, make sure theAll Programs radio button is selected and click Next to continue .
Step 13: In the Protocols and Ports window, keep everything and clickNext to continue.
Step 14: Select these IP addresses under Which remote IP addresses this rule applies to button as shown below.
Step 15: Next, click theAdd button to enter the IP address.
Step 16: In the small IP address window, select theThis IP address or subnet radio button, and then in the text box below it Enter the IP address in the field as shown below.
Step 17: Once completed, click the "OK" button.
Step 18: If you want to enter multiple IP addresses, repeat the Add IP Address process. Step 19: After entering all IP addresses, clickNext to continue.
Step 20: Now, select theBlock connection option and click Next to continue.
Step 21: In the next window, make sureall three checkboxes (Domain, Private, and Public) are selected, then Click Next.
Step 22: Finally, give your outbound rules a name so you can find them for disabling in the future.
Step 23: Finally, click the Complete button, as shown in the picture below.
Step 24: Now if you try to access a website that is blocked by the firewall, you will see the following results on your browser.
that's all. Here’s how you can block any website using Windows Firewall on your Windows 11 PC.
The above is the detailed content of How to block website access using firewall on Windows 11/10. For more information, please follow other related articles on the PHP Chinese website!