Prioritize Microsot Teams Traffic using MikroTik RouterOS

  Рет қаралды 9,072

MAICT

MAICT

Күн бұрын

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=""

Пікірлер: 29
@IT-TEAMSYRIA
@IT-TEAMSYRIA Жыл бұрын
Very Helpful information's from you Maher ,,, thanks a lot
@gabebelanger
@gabebelanger Жыл бұрын
great video!!!
@salembaabbad8783
@salembaabbad8783 2 ай бұрын
Thanks mr.Maher but What if I alredy have a bandwidth for hotspot users that adding a dynamic queues and i need to make a priority like yours
@moustafa.alebeady
@moustafa.alebeady Жыл бұрын
Why didn't you write dst-port=50000-50049 Is there any wisdom in do that ?
@ChristopherSumera
@ChristopherSumera 8 ай бұрын
yes, as you may see those are ports for Audio,Video and screen. From managment, perspective it is better to separete them, but you can join them if you like
Жыл бұрын
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.
@chhass
@chhass 5 ай бұрын
@maict, with all configuration done, with teams video calls in two ways, appear only download traffic in simple queues. Know why? Need to do more rules to mark upload and download traffic?
@vincekimcostales6658
@vincekimcostales6658 Жыл бұрын
when I'm uploading a big file in our Microsoft Teams, the trigerred Queue is the Parent not the Queue1 (for Teams app)
@alexgatermann
@alexgatermann Жыл бұрын
Hi Maher , could not get the queue to see the marked teams packet , checked config any ideas
@ammardellow4485
@ammardellow4485 2 жыл бұрын
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?
@basukiabdullah1458
@basukiabdullah1458 Жыл бұрын
where is script must be entry?in router or in the access point?
@tobiasgrossmann5466
@tobiasgrossmann5466 9 ай бұрын
Isn't that parent queue also reducing the lan traffic to 100M/100M ?
@djshaunvt
@djshaunvt 5 ай бұрын
Also thinking the same thing
@radoslavbacik5938
@radoslavbacik5938 2 күн бұрын
@@djshaunvt yeah me to, shouldnt it be restricted, only on wan? please Maher help us with this
@radoslavbacik5938
@radoslavbacik5938 2 күн бұрын
I tried with chatgpt, it keeps saying, that dst=0.0.0.0/0 → Applies only to external (internet) traffic.
@aseantravels8772
@aseantravels8772 Жыл бұрын
How can I do this by IP address my clients trying to reach?
@mist_devil5926
@mist_devil5926 2 жыл бұрын
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" like in lebanon warless stations ] and thx for help karim from lebanon
@JaZzDeOliveira
@JaZzDeOliveira 2 жыл бұрын
Will that be 5Mbps per user or 5Mbps for all users in the subnet
@MAICT
@MAICT 2 жыл бұрын
All users.
@gogosst
@gogosst 2 жыл бұрын
How we do this 5mbps per user?
@MAICT
@MAICT 2 жыл бұрын
@@gogosst You need to do mangle rules per IP of users, then add a queue for each user.
@user-ls-skostetskyi
@user-ls-skostetskyi Жыл бұрын
also we need for google meets if you can please (we have sometimes freeze on video calls) thanks!
@usmansaleem9569
@usmansaleem9569 Жыл бұрын
Hello sir Please Make a video on https proxy server for small Organization
@ingdanielsah
@ingdanielsah Жыл бұрын
how can Prioritize Outlook Traffic using MikroTik RouterOS ?
@mazinsaeed8957
@mazinsaeed8957 2 жыл бұрын
also we need for zoom meeting & cisco webex if you can please
@MAICT
@MAICT 2 жыл бұрын
I already have a video on my youtube channel for Zoom: kzbin.info/www/bejne/b4exmXqep6-ga80
@mazinsaeed8957
@mazinsaeed8957 2 жыл бұрын
@@MAICT many Thanks , your video's very rich contents , so please if you can prioritize the cisco webex meeting also
@amitshukla44
@amitshukla44 7 ай бұрын
These are the source ports right ? And you have made the configuration by considering it as destination port Can you please confirm its source port or destination port ?
@Stephen_M02
@Stephen_M02 Жыл бұрын
@MAICT Thanks so much for this - I'm trying to learn this as I am experiencing "poor network quality" warnings in Teams on my Mac. I have a Mikrotik hEX RB750Gr3 5-port Ethernet Gigabit Router, and use cat 5e cabling. My internal network speeds to my network attached storage are great - over 900 Mbps. Question for you - my cable internet provider does 350 Mbps download, but only 10 Mbps upload speed. I see no problem capping download speed for Other. However, how would you recommend splitting upload bandwidth between Teams and "Other" in this case? If I give 5 Mbps to "Other" and 5 Mbps to Teams, it seems like quite a handicap for my network's upload speed when I am NOT using Teams. I also wonder if sometimes Teams needs more than 5 Mbps. Microsoft Teams bandwidth requirements: learn.microsoft.com/en-us/microsoftteams/prepare-network The best performance values are: Audio: 76 kbps; Video: 4000 kbps; Screen sharing: 4000 kbps, so if I do all three (which I do, though I suspect Teams drops my video to 720p or lower, though my webcam supports 1080p), I'd need about 8 Mbps. Are the max-limits a requirement for simple queues, or can I simply set a priority of 1 for Teams, and 2 for Other, and have NO max-limits settings for either Teams or Other, and then just let the priority take care of making sure Teams upload traffic is not delayed?
Prioritize Zoom Traffic using MikroTik RouterOS
24:44
MAICT
Рет қаралды 17 М.
Don’t Choose The Wrong Box 😱
00:41
Topper Guild
Рет қаралды 62 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
Prioritize Whatsapp Traffic using MikroTik RouterOS
12:54
Microsoft Intune From Zero to Hero
39:08
Andy Malone MVP
Рет қаралды 290 М.
Finding And Stopping Rogue DHCP Servers On MikroTik
12:00
The Network Berg
Рет қаралды 27 М.
How TCP really works // Three-way handshake // TCP/IP Deep Dive
1:01:10
MikroTik Mark Traffic and Apply Priority
24:40
Raymond Rudman
Рет қаралды 20 М.