Limiting connections from a single IP to port 80 per second

whm-expert

Active Member
Nov 10, 2012
40
0
6
cPanel Access Level
DataCenter Provider
hello
is there any way to Limiting connections from a single IP to port 80 per second?
for example the maximum connection for ip "109.0.0.0" is 10 per 10 second.

i try CSF, its not work, i try this link "http://www.cyberciti.biz/faq/iptables-connection-limits-howto/"

its not work is there anther way?

best regards
 

arunsv84

Well-Known Member
Oct 20, 2008
373
1
68
127.0.0.1
cPanel Access Level
Root Administrator
You may enable "mod_limitipconn" module to limit the number of connections. If you google it, you will find a lots of articles on how to enable this module.

Cheers!!!
 

caisc

Well-Known Member
Oct 5, 2011
73
2
58
India
cPanel Access Level
Root Administrator
If you have CSF firewall installed on your server then you can use it too to limit the connections per IP.

The url you mentioned is about how to use iptables to block connection not CSF,

CSF is an advanced tool and there is specific setting in the CSF configuration for this.
 
Last edited:

whm-expert

Active Member
Nov 10, 2012
40
0
6
cPanel Access Level
DataCenter Provider
If you have CSF firewall installed on your server then you can use it too to limit the connections per IP.

The url you mentioned is about how to use iptables to block connection not CSF,

CSF is an advanced tool and there is specific setting in the CSF configuration for this.
Hello caisc

yes, i have install CSF firewall, please can you explain how to limit the connections per IP?
 

Infopro

Well-Known Member
May 20, 2003
17,113
507
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
any update?

What sort of update are you hoping for? CSF is not a cPanel product.

You might want to start at the beginning here I think:
http://www.configserver.com/free/csf/readme.txt

Search that page for the word: limit

Understanding how to manage this sort of thing is very important. Asking for help on these forms cannot replace actually reading and understanding how the software you use for security, works.


GL!