|
Iptables Tutorial: Limit connections per IP |
 vote
 |
|
How do you restrict the number of connections used by a single IP address to my server for port 80 and 25 using iptables?
You need to use the connlimit modules which allows you to restrict the number of parallel TCP connections to a server per client IP address (or address block).
This is useful to protect your server or vps box against flooding, spamming or content scraping.
| | |
| |
|
|
| read more | score:9010 | -nixcraft, February 8, 2010 |