Created
March 28, 2020 19:46
-
-
Save ebababi/9c2a3465907564bf9624e6d5db1c5e52 to your computer and use it in GitHub Desktop.
MikroTik RouterOS Script: Enable WMM in both wireless interfaces and create firewall rule setting WMM priority from DSCP.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Enable WMM in both wireless interfaces (2.4GHz and 5Ghz) and create firewall | |
# rule setting WMM priority from DSCP value of IP packets headers. | |
# | |
# Resources: | |
# https://wiki.mikrotik.com/wiki/Manual:WMM | |
# https://forum.mikrotik.com/viewtopic.php?t=125152#p616385 | |
/interface wireless | |
set [find default-name=wlan1] wmm-support=enabled | |
set [find default-name=wlan2] wmm-support=enabled | |
/ip firewall mangle | |
add action=set-priority chain=postrouting new-priority=from-dscp-high-3-bits passthrough=yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment