iptables -A INPUT -i eth0 -p tcp --dport 29000 -m state --state NEW -m recent --set --name pw;
iptables -A INPUT -i eth0 -p tcp --dport 29000 -m state --state NEW -m recent --update --seconds 30 --hitcount 10 --rttl --name pw -j DROP;
iptables -A INPUT -p tcp -m tcp --dport 29000 --tcp-flags FIN,SYN,RST,ACK SYN -m connlimit --connlimit-above 2 --connlimit-mask 32 ! -s 127.0.0.1 -j REJECT --reject-with icmp-port-unreachable