/ip firewall mangle add chain=forward src-address=192.168.0.0/16 \
action=mark-connection new-connection-mark=users-con
/ip firewall mangle add connection-mark=users-con action=mark-packet \
new-packet-mark=users chain=forward
/queue type add name=pcq-download kind=pcq pcq-classifier=dst-address
/queue type add name=pcq-upload kind=pcq pcq-classifier=src-address
/queue tree add name=Download parent=ToLieBao max-limit=5120000
/queue tree add parent=Download queue=pcq-download packet-mark=users
/queue tree add name=Upload parent=WAN max-limit=5120000
/queue tree add parent=Upload queue=pcq-upload packet-mark=users
时间: 2024-10-07 02:08:56