Enable a entire port range in Windows Firewall

Discussion created by chris.luekermann on Apr 19, 2011
Latest reply on Apr 20, 2011 by geir.haugom

Just in case you should need to enable a whole portrange for Nimsoft in a Windows Server but don't want to shutdown the Windows Firewall, this command for the commandline should do the trick.


for /L %a in (48000,1,48040) do netsh firewall add portopening TCP %a "Nimsoft Probe Port %a"