Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 12-28-2010, 09:53 AM   #1
Registered: Dec 2008
Location: Germany/Poland
Distribution: CentOS / Debian / Solaris / RedHat
Posts: 262

Rep: Reputation: 18
Unhappy iptables - connlimit doesnt work

Hi all,

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


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

I`m pretty sure that this rule is OK:

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:

iptables: No chain/target/match by that name

Connlimit module is in the folder
Maybe its not loaded ? I have no idea how to install connlimit for iptables... who can help me ?
Old 12-30-2010, 04:12 AM   #2
Registered: Apr 2008
Distribution: Slackware64 13.37, Solaris 10, RHEL5/6
Posts: 92

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



connlimit, iptables, load, module, problem

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
port forwarding with iptables - doesnt work dlugasx Linux - Networking 6 09-23-2009 10:06 AM
Centos 5.0 x86_64: need help adding connlimit module to iptables thanhlong Linux - Enterprise 4 07-14-2008 04:14 AM
iptables doesnt work in my linux kernel rohit83.ken Linux - Newbie 1 04-01-2008 09:28 AM
my iptables command doesnt work rohit83.ken Linux - Networking 1 04-01-2008 07:24 AM
[IPTABLES] FTP doesnt work with ls command narmida Linux - Networking 3 03-11-2005 01:51 PM

All times are GMT -5. The time now is 07:28 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration