PaulDotCom mailing list archives

Block all traffic to an IP


From: adsquaired at gmail.com (Adsquaired)
Date: Wed, 2 Sep 2009 20:41:09 -0400

You could null route the packets too.

route add <IP to blackhole> mask 255.255.255.255 <unused local network
address>

ad^2

On Wed, Sep 2, 2009 at 12:13 PM, Adrian Crenshaw <irongeek at irongeek.com>wrote:

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

_______________________________________________
Pauldotcom mailing list
Pauldotcom at mail.pauldotcom.com
http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
Main Web Site: http://pauldotcom.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.pauldotcom.com/pipermail/pauldotcom/attachments/20090902/de747d3d/attachment.htm 


Current thread: