1. Home
  2. Knowledge Base
  3. Security
  4. How to block specific IP address in Windows?

How to block specific IP address in Windows?

Most of the time, we need to look to block individual IP addresses on the server for a reason. We already covered Windows Firewall and Advanced Security in the previous article to block/allow specific Ports/Programs; we can block individual IP addresses through the same option.

In this article, you will learn about: How to block specific IP address in Windows?


1. Log in to Windows Server → Start → Administrative Tools → Windows Firewall with Advanced Security.

navigate-to-start-administrative-tool

open-windows-firewall-and-advanced-firewall

2. Navigate to Windows Firewall with Advanced Security  Inbound Rules.

Allow Incoming Connections Of Program From Windows VPS / Server Firewall

3. Here, we need to add new Firewall Rule → Click on New Rule.

inbound-rules-click-on-new-rule

4. In Rule Tpe → Select “Custom

5. In Program, select “All Program” → Click on Next.

Program-all-program-firewall-new-rule

6. In Protocol and Scope, keep everything default → Click on Next.

Protocol-and-ports-firewall

7. In Scope → Which remote IP addresses does this rule apply to? → Select These IP Address  → Click on Add.

Scope-select-and-click-on-add

8. Enter the IP address or Range of IP address which you would like to block → Click on Ok.

Enter-IP-address-click-on-add-to-block-it-in-windows-firewall

9. Now in Scope, click on Next.

Scope-click-on-next-to-block-IP

10. In the Action tab, select “Block the connection Next.

Action-tab-click-on-block-connection-next

11. In the Profile tab, you need to select the below options and click “Next“,

Domain: This applies to when the computer connected to the corporate domain.

Private: This applies to when the computer connected to the private network.

Public: This applies to when the computer connected to the public network.

Profile-section-firewall-rule

12. In the Name section, you need to specify Name for your Custom Rule → Finish.

Name-the-firewall-rule-block-ip-in-firewall

 

Updated on September 21, 2021

Was this article helpful?

Need Support?
Can't find the answer you're looking for? Don't worry we're here to help!
CONTACT SUPPORT