Community discussions

MikroTik App
 
User avatar
suloveoun
newbie
Topic Author
Posts: 34
Joined: Fri Sep 04, 2015 11:37 am

Limit download speed but not limit browsing speed

Tue Mar 07, 2023 11:26 am

Hello,

Could anyone help on how to limit download speed but not normal internet browser?

In my corporate some users keep download video, movies, all night day, I want to limit just only download but not everything else.

Thanks,
 
wiseroute
Member
Member
Posts: 352
Joined: Sun Feb 05, 2023 11:06 am

Re: Limit download speed but not limit browsing speed

Tue Mar 07, 2023 11:59 am

hello.

generally, there are 2 common method in doing download limit
1. transport up to presentation layer control, using web proxy. it is much better in controlling access. but unfortunately, currently, any protocol over ssl (mostly https) has made it difficult.

google: squid web proxy.

2. ip network layer control, much easier. but it only sees ip as single package tx and rx. it doesn't care about what your client activity .

mikrotik help page: bandwidth management.

hope this helps.
 
User avatar
anav
Forum Guru
Forum Guru
Posts: 19103
Joined: Sun Feb 18, 2018 11:28 pm
Location: Nova Scotia, Canada
Contact:

Re: Limit download speed but not limit browsing speed

Tue Mar 07, 2023 12:44 pm

In most corporate, users sign documents.
On said documents.
1. Misuse of company internet is forbidden
a. first offence, written and verbal warning
b. second offence, written and verbal counselling
c. third offence FIRED.

No change to config required.
 
Sob
Forum Guru
Forum Guru
Posts: 9119
Joined: Mon Apr 20, 2009 9:11 pm

Re: Limit download speed but not limit browsing speed

Tue Mar 07, 2023 8:30 pm

It depends. If it's regular download where one connection transfers a lot of data, you can mark it using connection-bytes, e.g. after 10MB:
/ip firewall mangle
add chain=forward connection-mark=no-mark connection-bytes=10485760-0 action=mark-connection new-connection-mark=bigtransfer
and then use queues to slow it down. Of course it's far from perfect.
 
optio
Long time Member
Long time Member
Posts: 655
Joined: Mon Dec 26, 2022 2:57 pm

Re: Limit download speed but not limit browsing speed

Tue Mar 07, 2023 8:40 pm

Create mangle rule which marks packet for some connection protocol ports (HTTP, FTP...) if connection bytes are above of some threshold, eg. 20Mb. Create queue and add that packet mark in lower priority than others.

Edit: Double post of same solution sry, I didn't read carefully Sob's answer above. :) That approach can work, you can play with queue rules, you can hard limit such connections or just prioritize them.

Who is online

Users browsing this forum: Bing [Bot], dido1236, fibracapi, Josephny, patrikg, soulflyhigh and 89 guests