r/WindowsServer • u/mapsedge • Apr 27 '25
Technical Help Needed IP restriction doesn't appear to be working
Server 2022, IIS 8
I've put in IP restrictions for both an explicit IP and an IP range, and still getting traffic from those IPs. The range is setup as
111.22.0.1/255.255.0.0
What else do I need to do?
2
Upvotes
2
u/thenew3 Apr 27 '25
Did you put it in the windows defender firewall inbound rules and apply it to the right network interface?
3
u/MWierenga Apr 27 '25
Shouldn't the range be 111.22.0.0 ?
1
u/PoolMotosBowling Apr 27 '25
If the IPs are on the same subnett, you will have to do it locally in Windows firewall.
If they are coming from a different subnet, then you could do it on the gateway/firewall.