Advanced Firewall IP exceptions Windows Server 2008/2012 RRS feed

  • Question

  • Is there a way to add exceptions to a firewall rule such as blocking all Non "US" ip ranges. (See Below) Exceptions for specific addresses instead of removing the entire range from the list?

    netsh advfirewall firewall add rule name="Block non_US IPs" dir=in action=block remoteip=,,,,,, etc


    Thursday, January 24, 2013 6:24 PM


  • Hi daytimeson23,

    Based on my research, if we know the exact IP address or IP range, we can use Windows Firewall to block the single IP address or range.


    Add or Edit Firewall Rule

    Hope this helps.

    Jeremy Wu
    TechNet Community Support

    • Edited by Jeremy_Wu Monday, January 28, 2013 10:05 AM
    • Proposed as answer by Jeremy_Wu Wednesday, January 30, 2013 6:25 AM
    • Marked as answer by Jeremy_Wu Thursday, January 31, 2013 6:13 PM
    Monday, January 28, 2013 9:55 AM