LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   iptables - connlimit doesnt work (https://www.linuxquestions.org/questions/linux-server-73/iptables-connlimit-doesnt-work-852810/)

dlugasx 12-28-2010 08:53 AM

iptables - connlimit doesnt work
 
Hi all,

I would like to limit incomming connections in my firewall. My second server has a kernel:

2.6.18-028

The problem is when I`m trying to use "connlimit" in iptables.

I`m pretty sure that this rule is OK:

Code:

iptables -A INPUT -p tcp --syn --dport 80 -m connlimit --connlimit-above 20 -j REJECT --reject-with tcp-reset
but for some reason when I`m trying to execute this I see this:

Code:

iptables: No chain/target/match by that name

Connlimit module is in the folder
Code:

/lib/xtables/libxt_connlimit.so
Maybe its not loaded ? I have no idea how to install connlimit for iptables... who can help me ?

ubyt3m3 12-30-2010 03:12 AM

If you are using CentOS (guessing from your profile), this link might help you.

-gibb


All times are GMT -5. The time now is 01:09 PM.