hello fellows. i have got a script from a friend but this script seems for version 5, i have version 6 installed,i need some help to update the codes for v 6 please
/ip firewall mangle
add action=mark-connection chain=prerouting comment=jpg content=jpg disabled=no
new-connection-mark=jpg passthrough=yes
add action=mark-packet chain=prerouting comment=jpg connection-mark=jpg
disabled=no new-packet-mark=jpg passthrough=yes
add action=mark-connection chain=prerouting comment=gif content=gif disabled=no
new-connection-mark=gif passthrough=yes
add action=mark-packet chain=prerouting comment=gif connection-mark=gif
disabled=no new-packet-mark=gif passthrough=yes
add action=mark-connection chain=prerouting comment=png content=png disabled=no
new-connection-mark=png passthrough=yes
add action=mark-packet chain=prerouting comment=png connection-mark=png
disabled=no new-packet-mark=png passthrough=yes
add action=mark-connection chain=prerouting comment=bmp content=bmp disabled=no
new-connection-mark=bmp passthrough=yes
add action=mark-packet chain=prerouting comment=bmp connection-mark=bmp
disabled=no new-packet-mark=bmp passthrough=yes
add action=mark-connection chain=prerouting comment=ico content=ico disabled=no
new-connection-mark=ico passthrough=yes
add action=mark-packet chain=prerouting comment=ico connection-mark=ico
disabled=no new-packet-mark=ico passthrough=yes
/queue type
add kind=pcq name=photos pcq-burst-rate=0 pcq-burst-threshold=0
pcq-burst-time=10s pcq-classifier=src-address,dst-address
pcq-dst-address-mask=32 pcq-dst-address6-mask=64 pcq-limit=50 pcq-rate=
4M pcq-src-address-mask=32 pcq-src-address6-mask=64 pcq-total-limit=
2000
/queue simple
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s direction=both
disabled=no interface=all limit-at=0/0 max-limit=0/0 name=photos
packet-marks=jpg,gif,png,ico,bmp parent=none priority=7 queue=
photos/photos target-addresses=“” total-queue=photos