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:
# ####################################################################

/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 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 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!
Corporate IT Solutions | Networking | cloud infrastructure | Mikrotik Consultancy Services : @2024
Phone: +88 016 350 28778, +88 01723-183331, +88 01711-133891, Mirpur, Dhaka, Bangladesh.
envelopephonemenu-circlecross-circle
×

Hello!

Need information, Please Click below to chat on WhatsApp

তথ্যের জন্য অনুগ্রহ করে WhatsApp এ ক্লিক করুন

× How can I help you?
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram