简体   繁体   中英

Issues with IP Address and Domain Restrictions in IIS 10

I Have a IIS 10 running into a MS Windows 2016 Standard.

I install IP Address and Domain Restrictions for manage which ip adress is allowed to access to application

but i can't make which Ip is allowed and which IP is deny to access

I try to make IP range but it is refused by Windows

when i add in " Ip address range" like that : 192.168.1.3-192.168.1.6 , Windows send "192.168.1.3-192.168.1.6 " is an invalid Ip address"

As far as I know, we couldn't add the range like "192.168.1.3-192.168.1.6" in IIS range.We should use sub mask.

Example:

Ban the lower half: 192.168.1.1 - "192.168.1.127

IP Address Range: 192.168.1.0 Mask or Prefix: 255.255.255.128

The mask 255.255.255.128 is also known as a "/25", because 25 of the first 32 bits of the address are part of the network address, and the remaining 7 bits are used for host addresses.

在此处输入图片说明

I suggest you could refer to below article to understand how sub mask work with IP address.

Wiki: https://en.wikipedia.org/wiki/Subnetwork#Subnetting

If you want to check your sub mask is right or not, use an online calculator. This one is fairly decent: https://www.subnetonline.com/pages/subnet-calculators.php

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM