Firstly I should correct myself. Though normally blocking these attacks would be done with a router you could edit the “Windows firewall with advanced security” scope options for the various protocols. This could be very time consuming as you cannot block IP's or subnets but rather block …

Manage Windows Defender Firewall with Microsoft Defender Create custom rules for Windows Defender Firewall. You can create custom Windows Defender Firewall rules to allow or block inbound or outbound across three profiles – Domain, Private, Public over: Application: You can specify the file path, Windows service, or Package family name to control connections for an app or program. IP address. You Unblock by IP address in Firewall. - McAfee Support Community Specify networks: This is where you need to specify what ip address is allowed, Is it internal or external. (example: 192 would be internal, 66.xxx is external network) Transport: All protocols . Then click save.. Then on the Firewall Rules List make sure your rule is above anything that is set to block. (firewall rules work top down on the list). ZoneAlarm Firewall

As someone that doesn't spend all day configuring application firewalls, I find the existing firewall configuration options to be very non-intuitive. The ability to simply add an IP or IP range for traffic allow/block would be great.

Block Entire Country IP Address Range (Windows Firewall How to Block IP Addresses Using Windows Firewall. Download the compressed file with the script and block list and unzip it. Start PowerShell and enter the following command to allow unsigned scripts: set-executionpolicy remotesigned; Type Y to allow the command entered above and close PowerShell. How to block IP addresses in Windows 10 - Quora May 26, 2018

Add IP address and URL to Windows Defender Firewall

How to Block IP Addresses Using Windows Firewall. Download the compressed file with the script and block list and unzip it. Start PowerShell and enter the following command to allow unsigned scripts: set-executionpolicy remotesigned; Type Y to allow the command entered above and close PowerShell. How to block IP addresses in Windows 10 - Quora May 26, 2018 How To Block a Program with Windows Firewall (Windows 10) Mar 26, 2016