Skip to contentSkip to conversation

Iptables -m limit problem

DISCUSSION ITM CS Ruslan O. Nesterov 1 participant 1 message Jan 10, 2003

lore
Share & tools
lore
#0 lore raw

Hello netfilter list,
I want to limit connectionss to http port to maximum 2 persecond from one host. I wrote the following line but it's not working :(

/usr/local/sbin/iptables -A ip_limit -p tcp --dport 80 -m limit --limit 2/second -j ACCEPT /usr/local/sbin/iptables -A INPUT -j ip_limit

Signature · 2 lines
Best regards,
 ITM                          mailto:[email protected]