How to Block an IP Address on Windows Firewall

You can block an IP address on a Windows PC using Windows Firewall: Find the IP address of a website you want to block. In Windows Search, type Windows Firewall and select Windows Defender Firewall to open it. Select Advanced settings. Select Inbound Rules, then select New Rule. Select Custom, then select Next. More items... •

Blocking a specific IP address or website on your computer can be useful for various reasons, such as preventing access to certain websites or stopping potentially harmful traffic from entering your network. In this tutorial, we’ll show you how to block a website IP address using the Windows Firewall on your computer.

First, open the start menu and type in “Windows Firewall”. Select the Windows Defender Firewall and click on “Advanced Settings”. Then, select “Inbound Rules” on the left side and click on “New Rule”.

Select “Custom” as the rule type and click “Next”. Now, select “These IP addresses” and click on “Add”. Type in the IP address you want to block and click “OK”. Then, click “Next” and select “Block the Connection”.

Click “Next” again and keep all the checkboxes selected. Finally, give a name to the rule and click “Finish”. You can see the inbound rule that you created is now on the top of the list.

You can also customize outbound rules in the same way. Simply select “Outbound Rules” instead of “Inbound Rules” and follow the same steps as mentioned above.

Blocking IP addresses and websites on the Windows Firewall is a straightforward process that anyone can do. You can modify or delete the rules anytime you want. This feature can help you control your network traffic and keep unwanted connections out of your computer.


Can I block someone's IP address?
Use a slash after the first address followed by the end address. For example, specify the CIDR range 69.89. 31.0/24 to block the range of IP addresses from 69.89. 31.0 to 69.89.
How do I block an IP address from my internet?
Start this process by heading to the router's settings page or access control panel, which is typically done by entering the router's IP address or address range into a web browser address bar. Look for a settings option for “Internet Filtering”, turn it on, and enter the addresses you wish to block.
How do I block an IP address in my Firewall?
Step 1: Open Windows Firewall with Advanced Security.Step 3: Select Custom in Rule Type.Step 5: Select Any on the Protocol and Ports Screen.Step 6:Click Add as Noted on the Red Outline Squared to Add Special IP or IP Range.Step 8: You can add more IPs to block here.More items...•