Per IP bandwidth limit

Christos Chatzaras chris at cretaforce.gr
Mon Nov 11 13:23:31 UTC 2019


> On 11 Nov 2019, at 15:09, Kostya Velychkovsky <velychkovsky at gmail.com> wrote:
> 
> Hello, is it the correct way to limit download/upload speed per client IP,  at the same time ignore how many connections it opens and request rate produced?
> 
> I need just limit bandwidth for example  100 mbit/s per IP, and no matter it opens 1 connection or 100 simulation connections. 
> 

Maybe it's better to do this with firewall. For example in FreeBSD this can be done with IPFW + Dummynet.


More information about the nginx mailing list