Un naufragio personal

Ángel Ortega

Disallow connections from an IP, in one line

If you are having an attack from an IP and want to ban it right now, use this ban_ip script:

ban_ip() { iptables -A INPUT -s $1 -j DROP; }