PaulDotCom mailing list archives

Block all traffic to an IP


From: irongeek at irongeek.com (Adrian Crenshaw)
Date: Wed, 2 Sep 2009 12:13:16 -0400

Hi all,
     In John's recent tech segment on Tor, he mentions blocking all traffic
to an IP first since some tools inadvertently send traffic to a host, even
if you mean not to. He mentioned an iptables command, but what about
Windows?

Would this be good enough (example blocks access to my site)?

     netsh advfirewall firewall add rule name="Blockit" protocol=any dir=out
action=block remoteip=208.97.169.250

Then to get rid of the rule:

     netsh advfirewall firewall delete rule name="Blockit"


Thanks,
Adrian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pauldotcom.com/pipermail/pauldotcom/attachments/20090902/0ee49b08/attachment.htm 


Current thread: