PLEASE DISABLE YOUR AD BLOCKER FOR SUPPORT THIS SITE! THANKS :)
HOME

MIKROTIK PCQ (PER-CONNECTION-QUEUE) GENERATOR FOR QUEUE TREE AND QUEUE SIMPLE

Script Generator Result
####################################################################
# MIKROTIK PCQ GENERATOR FOR QUEUE TREE AND QUEUE SIMPLE
# Date/Time:
# By BuanaNETPBun.Github.io + https://fb.me/buananet.pbun
####################################################################

/queue type
add kind=pcq name="PCQ-Up" pcq-classifier=src-address pcq-rate="1M"
add kind=pcq name="PCQ-Down" pcq-classifier=dst-address pcq-rate="2M"
/queue tree
add comment="Script Generator By BuanaNET Secure!" name="GLOBAL-CONNECTION" parent=global
add max-limit="10M" name="Upload-Client" packet-mark="upload-client" parent="GLOBAL-CONNECTION" queue="PCQ-Up"
add max-limit="50M" name="Download-Client" packet-mark="download-client" parent="GLOBAL-CONNECTION" queue="PCQ-Down"
/ip firewall mangle
add comment="Script Generator By BuanaNET Secure!" action=mark-connection chain=forward new-connection-mark="global-conn" passthrough=yes src-address-list=LOCAL-IP
add action=mark-packet chain=forward connection-mark="global-conn" src-address-list=LOCAL-IP new-packet-mark="upload-client" passthrough=no
add action=mark-packet chain=forward connection-mark="global-conn" dst-address-list=LOCAL-IP new-packet-mark="download-client" passthrough=no
/ip firewall address-list
add address=192.168.0.0/16 list=LOCAL-IP
add address=172.16.0.0/12 list=LOCAL-IP
add address=10.0.0.0/8 list=LOCAL-IP

Copy-Paste the Script into the Terminal!