Can you tell me which entries are correct? (limit-at and max-limit are not important)
1.
I think that is correct:
Code: Select all
/ip firewall mangle
add chain=prerouting in-interface=LAN action=mark-packet new-packet-mark=upload
add chain=postrouting out-interface=LAN action=mark-packet new-packet-mark=download
/queue tree
add limit-at=10000000 max-limit=10000000 name=upload packet-mark=upload parent=global-in queue=upload-pcq
add limit-at=10000000 max-limit=10000000 name=download packet-mark=download parent=global-out queue=download-pcq
2.
I try mark and shape download and upload only in global-in
Code: Select all
/ip firewall mangle
add chain=prerouting in-interface=LAN1 action=mark-packet new-packet-mark=upload
add chain=prerouting in-interface=WAN action=mark-packet new-packet-mark=download
/queue tree
add limit-at=10000000 max-limit=10000000 name=upload packet-mark=upload parent=global-in queue=upload-pcq
add limit-at=10000000 max-limit=10000000 name=download packet-mark=download parent=global-in queue=download-pcq
3.
I try mark and shape download and upload only in global-out.
Code: Select all
/ip firewall mangle
add chain=postrouting out-interface=WAN action=mark-packet new-packet-mark=upload
add chain=postrouting out-interface=LAN1 action=mark-packet new-packet-mark=download
/queue tree
add limit-at=10000000 max-limit=10000000 name=upload packet-mark=upload parent=global-out queue=upload-pcq
add limit-at=10000000 max-limit=10000000 name=download packet-mark=download parent=global-out queue=download-pcq