V
V
Valery Pankov2015-01-24 18:54:16
PHP
Valery Pankov, 2015-01-24 18:54:16

How to limit the number of connections from one ip in apache?

How to change the number of connections from one ip in apache?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Ruslan Sadikhov, 2015-01-24
@laryk

It is possible through IPTables:
5 connections from one IP:
And save:
service iptables save

S
Sergey Petrikov, 2015-01-24
@RicoX

Connect the mod_limitipconn module, then something like this.

<IfModule mod_limitipconn.c>
<Location /public_html/>
MaxConnPerIP 15
</Location>
</IfModule>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question