Code: Select all
/ip firewall mangle
add action=mark-packet chain=prerouting comment=upload in-interface=bridge \
new-packet-mark=client_upload passthrough=yes
add action=mark-packet chain=prerouting comment=download in-interface=ether1 \
new-packet-mark=client_download passthrough=yes
/queue type
add kind=pcq name=PCQ_download pcq-classifier=dst-address pcq-rate=100M
add kind=pcq name=PCQ_upload pcq-classifier=src-address pcq-rate=10M
/queue tree
add name=queue1 packet-mark=client_download parent=global queue=PCQ_download
add name=queue2 packet-mark=client_upload parent=global queue=PCQ_upload
Thanks