Temporarily firewall-banning an IP address script

0 views
Skip to first unread message

Kevin

unread,
Jan 23, 2007, 7:00:22 PM1/23/07
to Linpedia
/sbin/iptables -I INPUT -s $* -p tcp -j REJECT


Where "$*" would be in the form of 192.168.8.1 or 192.168.9.0/24 (etc).

Reply all
Reply to author
Forward
0 new messages