Learn how to block IP address using Windows Defender Firewall in Windows 10. With this tutorial, you’ll be able to block a single or specific IP address, or a range of IP addresses at once using Windows Defender Firewall.
Basically, you’ll need this blocking rule on your Windows 10 computer to stop or block problematic incoming connection. The reason I’m posting this article is to make sure you have a clear instruction of how to block IP address such as to block popups from Avire Free Antivirus.
See also how to fix and resolve an IP address conflict on Windows computer.
Block IP address using Windows Defender Firewall in Windows 10
- On your Windows 10 computer, press Win+R to open the Run dialogue box.
- Type
wf.msc
and press Enter to open Windows Defender Firewall with Advanced Security window. - Under Windows Defender Firewall with Advanced Security on Local Computer, select Inbound Rules.
- Under Actions, select New rule to open New Inbound Rule Wizard window.
- On Rule Type page, select Custom.
- Select Next.
- On Program page, select All programs (if you have a specific program, you can select This program path: and input the full program path).
- Select Next.
- On Protocol and Ports page, leave as default.
- Select Next.
- On Scope page, under Which remote IP addresses does this rule apply?, select These IP addresses. Click Add button to add the problematic IP addresses (you can add multiple IP addresses at once or their range). Once added, click Ok button.
- Select Next.
- On Action page, select Block the connection.
- Select Next.
- On Profile page, leave as default and click Next button.
- On Name page, enter any name you preferred (to give the rule a name).
- Select Finish.
That’s it. You have successfully created a new inbound rule to block a problematic IP address on your Windows 10 using Windows Firewall.
You can do the same for Outbound Rule if you want to block programs on your Windows 10 computer from connecting to the server. The steps to block the program are similar to the above.
If you have any question, just let me know in the comment below.