Community discussions

MikroTik App
 
User avatar
Arxondas
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 72
Joined: Sun Aug 02, 2015 12:23 pm
Location: Greece
Contact:

Queue and Priorize

Sat Sep 16, 2017 11:30 am

Hello all,

I would some help about priorize traffic.
I have adsl line 24Mbps and 4 pc's directly connected to mikrotik with static ip's.

Mikrotik got simple setup to provide internet to pc's.

I would like to priorize http/https, dns requests over everything else (ftp, downloads, games, etc)
and also limit the max bandwidth of each pc to 6M.

My plan is that if a pc is downloading a large file or doing ftp download it wont affect
the browsing speed.

I know that I need to create some mangle rules and queue rules but I need some help.

Currently I got these mangle rules
add action=mark-connection chain=prerouting comment="Mark - Browsing" connection-bytes=0-1000000 new-connection-mark=Browsing passthrough=yes port=80,443 protocol=tcp
add action=mark-packet chain=prerouting connection-mark=Browsing new-packet-mark=Browsing passthrough=no
add action=mark-connection chain=prerouting comment="Mark - DNS" new-connection-mark=DNS passthrough=yes port=53 protocol=tcp
add action=mark-connection chain=prerouting new-connection-mark=DNS passthrough=yes port=53 protocol=udp
add action=mark-packet chain=prerouting connection-mark=DNS new-packet-mark= DNS passthrough=no

in queque I got the problem how to limit each pc to 6M and also use the mangle rules.

Thanks

Who is online

Users browsing this forum: gianry, sindy, Tchonangauz, Techsystem and 33 guests