How to block IP address using Windows Firewall on Windows PC

How to block IP address using Windows Firewall on Windows PC
How to block IP address using Windows Firewall on Windows PC

Learn how to block IP address using Windows Firewall on Windows PC. 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.

Advertisement

Basically, you’ll need this blocking rule on your Windows computer 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.

Advertisement

How to block IP address using Windows Firewall on Windows PC

  1. On your Windows computer, press Win+R to open the Run dialog box.
  2. Type wf.msc in the and press Enter to open Windows Defender Firewall with Advanced Security window.
  3. On the left-hand side menu, under Windows Defender Firewall with Advanced Security on Local Computer menu, select Inbound Rules.
  4. On the right-hand side menu, under Actions menu, select New rule… to open New Inbound Rule Wizard window.
  5. On Rule Type page, select Custom and click Next button.
  6. On Program page, select All programs and click Next button.
    • If you have a specific program, you can select This program path: and input the full program path.
  7. On Protocol and Ports page, leave as default and click Next button.
  8. On Scope page, under Which remote IP addresses does this rule apply?, select These IP addresses:. Click on Add button to add the problematic IP addresses.
    • You can add multiple IP addresses and once or their range.
    • Once added, click Ok button and click Next button.
  9. On Action page, select Block the connection and click Next button.
  10. On Profile page, leave as default and click Next button.
  11. On Name page, give the rule a name. Enter any name your preferred and click Finish button.

That’s it. You have successfully created a new inbound rule to block a problematic IP address on your Windows using Windows Firewall.

If you have any question, just let me know in the comment below.

Advertisement
Articles you may like
Leave your comment
Share via