]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
trivial connlimit manpage fix (Phil Oester <kernel@linuxace.com>)
authorPhil Oester <kernel@linuxace.com>
Mon, 29 May 2006 22:59:13 +0000 (22:59 +0000)
committerPatrick McHardy <kaber@trash.net>
Mon, 29 May 2006 22:59:13 +0000 (22:59 +0000)
extensions/libipt_connlimit.man

index 404ee3270a2e04dbb25a57acebf7e78f57f60a52..55e53d140c6a026c2ec3ae97082971569200f421 100644 (file)
@@ -10,10 +10,10 @@ group hosts using mask
 Examples:
 .TP
 # allow 2 telnet connections per client host
-iptables -p tcp --syn --dport 23 -m connlimit --connlimit-above 2 -j REJECT
+iptables -A INPUT -p tcp --syn --dport 23 -m connlimit --connlimit-above 2 -j REJECT
 .TP
 # you can also match the other way around:
-iptables -p tcp --syn --dport 23 -m connlimit ! --connlimit-above 2 -j ACCEPT
+iptables -A INPUT -p tcp --syn --dport 23 -m connlimit ! --connlimit-above 2 -j ACCEPT
 .TP
 # limit the nr of parallel http requests to 16 per class C sized \
 network (24 bit netmask)