S
S
SKRSKR2016-05-21 20:58:21
iptables
SKRSKR, 2016-05-21 20:58:21

How to set a connection limit from one IP through iptables, for ports 10000-50000?

How to set a connection limit from one IP through iptabels, for ports 10000-50000?
For one port, I know that - iptables -A INPUT -p tcp --syn --dport PORT -m connlimit --connlimit-above 3 -j REJECT
but how about for half of the ports at once?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question