OK, question: I have a IIS webserver and Windows firewall. To allow incoming connections to IIS, I enabled port 80 and 8080.
But now, how can I block a specific IP address/range on port 80 (=ban) with windows firewall ?
You can define a "scope" for your custom firewall rules.
Here are the necessary steps for a Windows Server 2008 (similar on other modern Windows OS) in
Important note: be careful when you're administering a remote controlled server, you could lock yourself out!