{{tag>firewall iptables}} ====== iptables commands ====== Drop new TCP connection from single IP if it exceeds 10 simultaneous connections. iptables -I INPUT 1 -p tcp --syn -m connlimit --connlimit-above 10 -j DROP ====== Tested on ====== * ====== See also ====== * [[save_iptables_rules_clear_firewall|Save iptables rules and clear firewall]] ====== References ======