Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Would the following iptables command on an OpenWRT router assure that no one client has more than 50 active connections?

$ iptables -I FORWARD -m connlimit --connlimit-above 50 -j REJECT --reject-with tcp-reset
iptables v1.4.6: Couldn't load match `connlimit':File not found

If so, what package do I need to install to be able to use --connlimit?

share|improve this question

1 Answer 1

I don't believe it is in the standard distribution. You will need to compile your own kernel. There is ticket with a patch already submitted.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.