[Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 300
  • Last Modified:

block ip

Server with multiple IP addresses
  How to do firewall rule that blocks access to and from IP address.  Will this make websites go down.  Will this disconnect remote desktop connection.
  • 2
2 Solutions
When creating a FW rule, you can specify both FROM and TO IP address and a PORT NUMBER (or a port number range) for that rule.

That means you can disable traffic to  or from SPECIFIC IP addresses, so it does NOT affect your other IP's on the server.

If you specify ports like 80 (HTTP) and 443 (HTTPS) in your FW rule - that might make the website UNAVAILABLE for the IP you have specified in the rule.

If you want to block a IP from connecting to your server but still allow them to be able to view the website - you will have to BLOCK all ports APART from 80 and 443.

If you BLOCK ALL ports creating 1 rule, and then ALLOW 80 and 443 in 2nd rule - that will NOT work and BLOCK will always take precedence.

Hope that makes sense :)
What is your problem? Do you want to block IPs in IIS?

I presume that you have a problem IP (spam or something) and you want to block that inside IIS.

You can do this inside IIS - no need for a firewall - but it depends on what version you have on the steps to do this.

IIS 6 and 7 have blocking specific IPs


IIS7.x has more intelligent, proactive blocking of different IPs where abuse appears to occur

rgb192Author Commented:
>>I presume that you have a problem IP (spam or something) and you want to block that inside IIS.

rgb192Author Commented:

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now