Limiting the number of connections to SSH Server using Iptables
This is the quickest way to limit the number of connection to your SSH server with iptables. [bash] sudo /sbin/iptables -A INPUT -p tcp –syn –dport 22 -m connlimit –connlimit-above 5 -j REJECT [/bash] This will only allow up to 5 concurrent connections to the SSH server, subsequent connections will be rejected by iptables, thus […]