Wednesday, June 10, 2009

Block IP using IP tables

iptables -A INPUT -s IP -j DROP
iptables -A OUTPUT -d IP -j DROP

No comments:

Post a Comment