f
/ip firewall filter
add action=add-src-to-address-list address-list=torrent address-list-timeout=10m chain=forward dst-port=6881 protocol=udp src-address=192.168.16.0/24 src-address-list=!torrent
/ip firewall mangle
add action=mark-connection chain=forward new-connection-mark=torrent passthrough=yes src-address-list=torrent
add action=mark-packet chain=forward connection-mark=torrent new-packet-mark=torrent passthrough=yes
/queue simple add max-limit=128k/128k name=queue-torrent-day packet-marks=torrent queue=pfifo-4k/pfifo-4k target=ether1