1

I have a Windows 2008R2 Server running IIS 7.5. It is getting bombarded with attempted hacks from similar IPs.

How would I block the IP range with something like 51.255.65.*?

Below is the UI presented to me when adding a Deny restriction

enter image description here

2

You need to specify the range in proper subnet format. You may wish to take a look at our canonical question on IPv4 subnetting, if you're not exactly sure what that means.

For your example, you'd use 51.255.65.0 in the "IP address range" field, and the subnet mask of 255.255.255.0. in the "Mask or Prefix" field.

If you're going to be making a habit of this (and also just in general), you may wish to find a nice subnet calculator or subnet mask cheat sheet you like, and add them to your bookmarks.

  • Thank you! So to clarify to block 51.255.*.* I would use 51.255.0.0 with a Mask or Prefix of 255.255.0.0 – Paul Hale Feb 23 '16 at 13:37
  • @PaulHale Yes, that looks correct. – HopelessN00b Feb 23 '16 at 14:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.