i got issue with ransomware attacks day and night from Russia/Ukraine...
even with secure rdp some of them get passes now and then and make me suffer...
so i want to block geo block whole Russia/Ukraine till Microsoft actually think of something and patch this issue...
there is no GeoBlock as far as i know in firewall
so i downloaded http://www.ipdeny.com/ipblocks/ ip's based by country
i know this command netsh advfirewall firewall set rule name = " .....
but it only add up to thousand ip's and if i re run it for next thousand it delete previous batch and replace it with new ones...
i saw some netsh advfirewall firewall add rule name = "
but couldn't figure it out what do i misses to make it work
here is the sample i run
C:\Users\User>netsh advfirewall firewall add rule name = "RussiaOutBlock" new remoteip = "2.16.159.0/255.255.255.0" One or more essential parameters were not entered. Verify the required parameters, and reenter them.
i appreciate insight on this matter of if there is easier way to solve this problem
thank you