iptables limit number connections

How do I restrict the number of connections used by a single IP address to my server for port 80 and 25 using iptables?

{ 34 comments }