How do I do this with NETSH?
How do I add a block filter as I would have (XP) with the following IPSECCMD command: ipseccmd -f [srcip/srcmask+dstip/dstip] Thanks. - Vince
November 8th, 2011 9:33pm

NetSh.exe AdvFirewall Firewall Add Rule Name="Block This" dir=in action=block enable=yes profile=any localip=1.0.0.1/2 remoteip=2.0.0.0/24 Hope this helps, Dusty Harper [MSFT] Microsoft Corporation ------------------------------------------------------------ This posting is provided "AS IS", with NO warranties and confers NO rights ------------------------------------------------------------
Free Windows Admin Tool Kit Click here and download it now
November 11th, 2011 4:47pm

Thanks, Dusty. I'll try it after dinner. That seems like it will be permanent. The IPSECCMD method I mentioned did not survive a restart. (???) - Vince
November 11th, 2011 5:32pm

NetSh.exe AdvFirewall Firewall Add Rule Name="Block This" dir=in action=block enable=yes profile=any localip=1.0.0.1/2 remoteip=2.0.0.0/24 Hope this helps, Dusty Harper [MSFT] Microsoft Corporation ------------------------------------------------------------ This posting is provided "AS IS", with NO warranties and confers NO rights ------------------------------------------------------------ Yup, that works. Thanks, Dusty. What about doing it in a non-permanent way? - Vince
Free Windows Admin Tool Kit Click here and download it now
November 11th, 2011 10:11pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics