block ip

Posted on 2011-10-13
Last Modified: 2012-05-12
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.
Question by:rgb192
    LVL 4

    Accepted Solution

    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 :)
    LVL 17

    Assisted Solution

    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


    Author Comment

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


    Author Closing Comment


    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Logparser is the smartest tool I have ever used in parsing IIS log files and there are many interesting things I wanted to share with everyone one of the  real-world  scenario from my current project. Let's get started with  scenario - How do w…
    Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now