Рет қаралды 9,072
mynetworktrain... - In this video, I will show you how you can prioritize the MS Teams traffic on MikroTik RouterOS.
Here is the link from Microsoft where it shows the ports for Teams:
learn.microsof...
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=""