How to block IP in Windows Firewall?

Problem

We want to block special IPs to access the applications in our server;

Step by Step Guide

1)Start Windows Firewall with Advanced Security

How to block IP in windowd firewall Step 1

2) Start a new rule

How to block IP in windowd firewall Step 2

3) Select Custom in Rule Type

How to block IP in windowd firewall 3

4) Select All programs under Does this rule apply to all programs or a specific program?   

How to block IP in windowd firewall 4

5) Select Any on the Protocol and Ports screen

How to block IP in windowd firewall 5

6) Click Add as noted on the red outline squared to add special IP or IP range

How to block IP in windowd firewall 6

7) Add the special IP or IP range

How to block IP in windowd firewall 7

8) You can add more IPs to block

How to block IP in windowd firewall 8

9) Select Block the Connection

How to block IP in windowd firewall 9

10) Select all  boxes under 'When does this rule apply?'.

How to block IP in windowd firewall 10

11) Set a Name for the rule

How to block IP in windowd firewall 11

12) Done

How to block IP in windowd firewall 12

Add Feedback