This link has been bookmarked by 13 people . It was first bookmarked on 08 May 2007, by Zhe sto.
# drop everything else
iptables -A INPUT -i eth+ -p udp -j DROP
iptables -A INPUT -i eth+ -p tcp -m tcp --syn -j DROP
# accept anything on localhost
iptables -A INPUT -i lo -j ACCEPT
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.