summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
Diffstat (limited to 'extensions')
-rw-r--r--extensions/libipt_connlimit.man4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libipt_connlimit.man b/extensions/libipt_connlimit.man
index 404ee327..55e53d14 100644
--- a/extensions/libipt_connlimit.man
+++ b/extensions/libipt_connlimit.man
@@ -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)