Page 1 of 1

Need a place to start with rate limiting inbound traffic

Posted: Thu Feb 25, 2016 6:00 am
by webguyz
Totally confused about the different ways to limit traffic. Hoping if I explain what I'm trying to do someone can point me in the right direction.

We have customers connecting to an IMAP server behind our Mikrotik and some of them are taking a lot of bandwidth to the point its maxing out my bandwidth.

I need to limit certain customers IP bandwidth to my mail servers IP. Tried simple queues but that did not work so can someone tell me what method I need to be looking at? Any working sample links would be great.

Thanks!
Andy

Re: Need a place to start with rate limiting inbound traffic

Posted: Thu Feb 25, 2016 6:45 am
by kiaunel
Keep in mind that if you use fasttrack connection it may baypass your queques.
In my config this one is simple and works.
/queue simple
add max-limit=3M/0 name=para target=10.10.9.3/32

Re: Need a place to start with rate limiting inbound traffic

Posted: Thu Feb 25, 2016 6:56 am
by webguyz
I have tried this before but there is no traffic showing on the queue

In your example is the 10.10.9.3/32 address behind the Mikrotik or outside the Mikrotik?

I think I have to do something with marking packets but the process is not being understood by me.

Thanks.

Posted: Thu Feb 25, 2016 8:48 am
by kiaunel
It is behind mikrotik

Sent from my Lenovo K50-t5 using Tapatalk

Re: Need a place to start with rate limiting inbound traffic

Posted: Thu Feb 25, 2016 4:05 pm
by webguyz
I have 5000 Ips hitting my one mail server from the outside, I need to rate limit 3 of the incoming IPs.

Simple queues are for rate limiting IP's behind the Mikrotik, need a way to rate limit 3 or more incoming IP's to my mail server which is behind the Mikrotik.

Thanks!