Prioritize Microsot Teams Traffic using MikroTik RouterOS

preview_player
Показать описание

Here is the link from Microsoft where it shows the ports for Teams:

Here is the script to run:

/ip firewall mangle
add action=mark-connection chain=prerouting dst-port=50000-50019 new-connection-mark=Teams-Connection passthrough=yes protocol=udp
add action=mark-connection chain=prerouting dst-port=50020-50039 new-connection-mark=Teams-Connection passthrough=yes protocol=tcp
add action=mark-connection chain=prerouting dst-port=50020-50039 new-connection-mark=Teams-Connection passthrough=yes protocol=udp
add action=mark-connection chain=prerouting dst-port=50040-50059 new-connection-mark=Teams-Connection passthrough=yes protocol=tcp
add action=mark-connection chain=prerouting dst-port=50040-50059 new-connection-mark=Teams-Connection passthrough=yes protocol=udp
add action=mark-packet chain=prerouting connection-mark=Teams-Connection new-packet-mark=Teams-Pckt passthrough=no

/queue simple
add max-limit=100M/100M name=Parent target=""
add max-limit=95M/95M name=Other parent=Parent target=""
add limit-at=5M/5M max-limit=5M/5M name=queue1-Teams packet-marks=Teams-pckt parent=Parent priority=1/1 target=""
Рекомендации по теме
Комментарии
Автор

Very Helpful information's from you Maher, ,, thanks a lot

HMDEKNG
Автор

Why didn't you write
dst-port=50000-50049
Is there any wisdom in do that ?

moustafa.alebeady
Автор

I want users to use all available internet speeds but for Teams as the first priority.
so I shall make a simple queue as parents and with max limit, in advanced LAB: packet Marks: Teams-pckt and priority =1
is that correct?

ammardellow
Автор

when I'm uploading a big file in our Microsoft Teams, the trigerred Queue is the Parent not the Queue1 (for Teams app)

vincekimcostales
Автор

Hi Maher, could not get the queue to see the marked teams packet, checked config any ideas

alexgatermann
Автор

How can I do this by IP address my clients trying to reach?

aseantravels
Автор

Thanks for the guide! I think there is a minor issue in the script though - you are marking packets as "Teams-Pckt" (upper case P) but then in the queue you work with "packet-marks=Teams-pckt" (lower case in p). I believe the case matters here.

Автор

Isn't that parent queue also reducing the lan traffic to 100M/100M ?

tobiasgrossmann
Автор

where is script must be entry?in router or in the access point?

basukiabdullah
Автор

how can Prioritize Outlook Traffic using MikroTik RouterOS ?

mwulmfs
Автор

i am man i just need to know about if you can do a video about configuration a mikrotik sxt on the phone app (like from the sxt to a internet bridge or "station" <not from router to router> like in lebanon warless stations ] and thx for help karim from lebanon <3

mist_devil
Автор

Hello sir
Please Make a video on https proxy server for small Organization

usmansaleem
Автор

Will that be 5Mbps per user or 5Mbps for all users in the subnet

JaZzDeOliveira
Автор

also we need for google meets if you can please (we have sometimes freeze on video calls) thanks!

ls-skostetskyi
Автор

also we need for zoom meeting & cisco webex if you can please

mazinsaeed