Friday, April 24, 2009

How to Block an IP using IPTABLES?

As a root, 

iptables -I INPUT -s 196.3.164.40 -j DROP

How to verify?

iptables -L



No comments: