What firewall can I pair with iptables? And what effective rule can I create to say if I’ve banned IP if it has more than 100 connections or flooding.

1 answer 1

You described the usual DOS. For him in iptables there is a rule:

iptables -A INPUT -p tcp --tcp-flags SYN,ACK,FIN SYN -m limit --limit 100/sec -j ACCEPTiptables -A INPUT -p tcp --tcp-flags SYN,ACK,FIN SYN -j DROP