- Jan 14, 2015
- 1,761
As some users are not aware in how to block websites in Windows Firewall and due to a recent discussion about such topic, below is a guide in how to create rules to block websites in Windows Firewall:
Code:
1. Open Windows Firewall from the Control Panel;
2. Select Advanced Settings;
On windows 10 just search for Windows Firewall in the search bar and choose Windows Firewall with Advanced Settings
3. Select Inbound Rules from the left panel. Select New Rule from the right side (Action window);
4. Select Custom (Custom rule) and click Next;
5. All Programs should be selected and click Next;
6. Click next on the Protocols and Ports page (leave as it is);
7. In the scope page enter the IP (i.e. 192.168.1.1 but not www) address of the site you want to block in the "Which remote IP addresses does this rule apply to?" section;
8. Select Block the connection on the Action page, click Next;
9. Leave all boxes checked on Profile page if you don't ever want to see the website on any network connection, modify if you want to allow on a Domain, Public or Private Network;
10. Enter a name for the new rule you created and click Finish;
11. Select Outbound Rules from the left panel and repeat ALL steps precisely from above.
Side note: any rules can be edited later if you want to add more IP addresses to block.