تحجيم التحميل فى ميكروتيك سيرفر
فقت انسخ الاسكرب
كوبى وبسط الى نيوترمال
وتدوس انتر
وبعدها تابع التحميل
الاسكرب
/////////////////////////////////////////////////////////////////////////
/ip firewall layer7-protocol
add name="Extension \" .exe \"" regexp="^.*get.+\\.exe.*\$"
add name="Extension \" .rar \"" regexp="^.*get.+\\.rar.*\$"
add name="Extension \" .zip \"" regexp="^.*get.+\\.zip.*\$"
add name="Extension \" .7z \"" regexp="^.*get.+\\.7z.*\$"
add name="Extension \" .cab \"" regexp="^.*get.+\\.cab.*\$"
add name="Extension \" .asf \"" regexp="^.*get.+\\.asf.*\$"
add name="Extension \" .mov \"" regexp="^.*get.+\\.mov.*\$"
add name="Extension \" .wmv \"" regexp="^.*get.+\\.wmv.*\$"
add name="Extension \" .mpg \"" regexp="^.*get.+\\.mpg.*\$"
add name="Extension \" .mpeg \"" regexp="^.*get.+\\.mpeg.*\$"
add name="Extension \" .mkv \"" regexp="^.*get.+\\.mkv.*\$"
add name="Extension \" .avi \"" regexp="^.*get.+\\.avi.*\$"
add name="Extension \" .flv \"" regexp="^.*get.+\\.flv.*\$"
add name="Extension \" .pdf \"" regexp="^.*get.+\\.pdf.*\$"
add name="Extension \" .wav \"" regexp="^.*get.+\\.wav.*\$"
add name="Extension \" .wma \"" regexp="^.*get.+\\.wma.*\$"
add name="Extension \" .rm \"" regexp="^.*get.+\\.rm.*\$"
add name="Extension \" .mp3 \"" regexp="^.*get.+\\.mp3.*\$"
add name="Extension \" .mp4 \"" regexp="^.*get.+\\.mp4.*\$"
add name="Extension \" .ram \"" regexp="^.*get.+\\.ram.*\$"
add name="Extension \" .rmvb \"" regexp="^.*get.+\\.rmvb.*\$"
add name="Extension \" .dat \"" regexp="^.*get.+\\.dat.*\$"
add name="Extension \" .daa \"" regexp="^.*get.+\\.daa.*\$"
add name="Extension \" .iso \"" regexp="^.*get.+\\.iso.*\$"
add name="Extension \" .nrg \"" regexp="^.*get.+\\.nrg.*\$"
add name="Extension \" .bin \"" regexp="^.*get.+\\.bin.*\$"
add name="Extension \" .vcd \"" regexp="^.*get.+\\.vcd.*\$"
/ip firewall mangle
add action=mark-connection chain=prerouting comment="7z DOWNS" disabled=no \
layer7-protocol="Extension \" .7z \"" new-connection-mark="7z DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="7z DOWNS" disabled=no \
new-packet-mark=7z passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="asf DOWNS" disabled=no \
layer7-protocol="Extension \" .asf \"" new-connection-mark="asf DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="asf DOWNS" disabled=\
no new-packet-mark=asf passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="avi DOWNS" disabled=no \
layer7-protocol="Extension \" .avi \"" new-connection-mark="avi DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="avi DOWNS" disabled=\
no new-packet-mark=avi passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="bin DOWNS" disabled=no \
layer7-protocol="Extension \" .bin \"" new-connection-mark="bin DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="bin DOWNS" disabled=\
no new-packet-mark=bin passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="iso DOWNS" disabled=no \
layer7-protocol="Extension \" .iso \"" new-connection-mark="iso DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="iso DOWNS" disabled=\
no new-packet-mark=iso passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="mkv DOWNS" disabled=no \
layer7-protocol="Extension \" .mkv \"" new-connection-mark="mkv DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="mkv DOWNS" disabled=\
no new-packet-mark=mkv passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="exe DOWNS" disabled=no \
layer7-protocol="Extension \" .exe \"" new-connection-mark="exe DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="exe DOWNS" disabled=\
no new-packet-mark=exe passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="mov DOWNS" disabled=no \
layer7-protocol="Extension \" .mov \"" new-connection-mark="mov DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="mov DOWNS" disabled=\
no new-packet-mark=mov passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="mp3 DOWNS" disabled=no \
layer7-protocol="Extension \" .mp3 \"" new-connection-mark="mp3 DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="mp3 DOWNS" disabled=\
no new-packet-mark=mp3 passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="mp4 DOWNS" disabled=no \
layer7-protocol="Extension \" .mp4 \"" new-connection-mark="mp4 DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="mp4 DOWNS" disabled=\
no new-packet-mark=mp4 passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="mpeg DOWNS" disabled=no \
layer7-protocol="Extension \" .mpeg \"" new-connection-mark="mpeg DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="mpeg DOWNS" disabled=\
no new-packet-mark=mpeg passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="mpg DOWNS" disabled=no \
layer7-protocol="Extension \" .mpg \"" new-connection-mark="mpg DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="mpg DOWNS" disabled=\
no new-packet-mark=mpg passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="nrg DOWNS" disabled=no \
layer7-protocol="Extension \" .nrg \"" new-connection-mark="nrg DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="nrg DOWNS" disabled=\
no new-packet-mark=nrg passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="pdf DOWNS" disabled=no \
layer7-protocol="Extension \" .pdf \"" new-connection-mark="pdf DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="pdf DOWNS" disabled=\
no new-packet-mark=pdf passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="ram DOWNS" disabled=no \
layer7-protocol="Extension \" .ram \"" new-connection-mark="ram DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="ram DOWNS" disabled=\
no new-packet-mark=ram passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="rar DOWNS" disabled=no \
layer7-protocol="Extension \" .rar \"" new-connection-mark="rar DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="rar DOWNS" disabled=\
no new-packet-mark=rar passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="rm DOWNS" disabled=no \
layer7-protocol="Extension \" .rm \"" new-connection-mark="rm DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="rm DOWNS" disabled=no \
new-packet-mark=rm passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="rmvb DOWNS" disabled=no \
layer7-protocol="Extension \" .rmvb \"" new-connection-mark="rmvb DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="rmvb DOWNS" disabled=\
no new-packet-mark=rmvb passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="wav DOWNS" disabled=no \
layer7-protocol="Extension \" .wav \"" new-connection-mark="wav DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="wav DOWNS" disabled=\
no new-packet-mark=wav passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="wma DOWNS" disabled=no \
layer7-protocol="Extension \" .wma \"" new-connection-mark="wma DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="wma DOWNS" disabled=\
no new-packet-mark=wma passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="wmv DOWNS" disabled=no \
layer7-protocol="Extension \" .wmv \"" new-connection-mark="wmv DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="wmv DOWNS" disabled=\
no new-packet-mark=wmv passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="zip DOWNS" disabled=no \
layer7-protocol="Extension \" .zip \"" new-connection-mark="zip DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="zip DOWNS" disabled=\
no new-packet-mark=zip passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="daa DOWNS" disabled=no \
layer7-protocol="Extension \" .daa \"" new-connection-mark="daa DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="daa DOWNS" disabled=\
no new-packet-mark=daa passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="dat DOWNS" disabled=no \
layer7-protocol="Extension \" .dat \"" new-connection-mark="dat DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="dat DOWNS" disabled=\
no new-packet-mark=dat passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="vcd DOWNS" disabled=no \
layer7-protocol="Extension \" .vcd \"" new-connection-mark="vcd DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="vcd DOWNS" disabled=\
no new-packet-mark=vcd passthrough=no protocol=tcp
add action=mark-packet chain=prerouting comment=Ping-Request disabled=no \
new-packet-mark=ping_requests passthrough=yes protocol=icmp
add action=mark-packet chain=prerouting disabled=no new-packet-mark=all \
passthrough=no
/queue type
add kind=pcq name=Download 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=250k \
pcq-src-address-mask=32 pcq-src-address6-mask=64 pcq-total-limit=2000
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s comment=Downloads1 disabled=\
no limit-at=0 max-limit=2M name=Downloads1 packet-mark=\
7z,asf,avi,bin,iso,mkv,exe parent=global-out priority=2 queue=Download
add burst-limit=0 burst-threshold=0 burst-time=0s comment=Downloads2 disabled=\
no limit-at=0 max-limit=2M name=Downloads2 packet-mark=\
mov,mp3,mp4,mpeg,mpg,nrg,pdf,ram parent=global-out priority=2 queue=\
Download
add burst-limit=0 burst-threshold=0 burst-time=0s comment=Downloads3 disabled=\
no limit-at=0 max-limit=2M name=Downloads3 packet-mark=\
rar,rm,rmvb,wav,wma,wmv,zip parent=global-out priority=2 queue=Download
add burst-limit=0 burst-threshold=0 burst-time=0s comment=Downloads4 disabled=\
no limit-at=0 max-limit=2M name=Downloads4 packet-mark=vcd,dat,daa parent=\
global-out priority=2 queue=Download
فقت انسخ الاسكرب
كوبى وبسط الى نيوترمال
وتدوس انتر
وبعدها تابع التحميل
الاسكرب
/////////////////////////////////////////////////////////////////////////
/ip firewall layer7-protocol
add name="Extension \" .exe \"" regexp="^.*get.+\\.exe.*\$"
add name="Extension \" .rar \"" regexp="^.*get.+\\.rar.*\$"
add name="Extension \" .zip \"" regexp="^.*get.+\\.zip.*\$"
add name="Extension \" .7z \"" regexp="^.*get.+\\.7z.*\$"
add name="Extension \" .cab \"" regexp="^.*get.+\\.cab.*\$"
add name="Extension \" .asf \"" regexp="^.*get.+\\.asf.*\$"
add name="Extension \" .mov \"" regexp="^.*get.+\\.mov.*\$"
add name="Extension \" .wmv \"" regexp="^.*get.+\\.wmv.*\$"
add name="Extension \" .mpg \"" regexp="^.*get.+\\.mpg.*\$"
add name="Extension \" .mpeg \"" regexp="^.*get.+\\.mpeg.*\$"
add name="Extension \" .mkv \"" regexp="^.*get.+\\.mkv.*\$"
add name="Extension \" .avi \"" regexp="^.*get.+\\.avi.*\$"
add name="Extension \" .flv \"" regexp="^.*get.+\\.flv.*\$"
add name="Extension \" .pdf \"" regexp="^.*get.+\\.pdf.*\$"
add name="Extension \" .wav \"" regexp="^.*get.+\\.wav.*\$"
add name="Extension \" .wma \"" regexp="^.*get.+\\.wma.*\$"
add name="Extension \" .rm \"" regexp="^.*get.+\\.rm.*\$"
add name="Extension \" .mp3 \"" regexp="^.*get.+\\.mp3.*\$"
add name="Extension \" .mp4 \"" regexp="^.*get.+\\.mp4.*\$"
add name="Extension \" .ram \"" regexp="^.*get.+\\.ram.*\$"
add name="Extension \" .rmvb \"" regexp="^.*get.+\\.rmvb.*\$"
add name="Extension \" .dat \"" regexp="^.*get.+\\.dat.*\$"
add name="Extension \" .daa \"" regexp="^.*get.+\\.daa.*\$"
add name="Extension \" .iso \"" regexp="^.*get.+\\.iso.*\$"
add name="Extension \" .nrg \"" regexp="^.*get.+\\.nrg.*\$"
add name="Extension \" .bin \"" regexp="^.*get.+\\.bin.*\$"
add name="Extension \" .vcd \"" regexp="^.*get.+\\.vcd.*\$"
/ip firewall mangle
add action=mark-connection chain=prerouting comment="7z DOWNS" disabled=no \
layer7-protocol="Extension \" .7z \"" new-connection-mark="7z DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="7z DOWNS" disabled=no \
new-packet-mark=7z passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="asf DOWNS" disabled=no \
layer7-protocol="Extension \" .asf \"" new-connection-mark="asf DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="asf DOWNS" disabled=\
no new-packet-mark=asf passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="avi DOWNS" disabled=no \
layer7-protocol="Extension \" .avi \"" new-connection-mark="avi DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="avi DOWNS" disabled=\
no new-packet-mark=avi passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="bin DOWNS" disabled=no \
layer7-protocol="Extension \" .bin \"" new-connection-mark="bin DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="bin DOWNS" disabled=\
no new-packet-mark=bin passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="iso DOWNS" disabled=no \
layer7-protocol="Extension \" .iso \"" new-connection-mark="iso DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="iso DOWNS" disabled=\
no new-packet-mark=iso passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="mkv DOWNS" disabled=no \
layer7-protocol="Extension \" .mkv \"" new-connection-mark="mkv DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="mkv DOWNS" disabled=\
no new-packet-mark=mkv passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="exe DOWNS" disabled=no \
layer7-protocol="Extension \" .exe \"" new-connection-mark="exe DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="exe DOWNS" disabled=\
no new-packet-mark=exe passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="mov DOWNS" disabled=no \
layer7-protocol="Extension \" .mov \"" new-connection-mark="mov DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="mov DOWNS" disabled=\
no new-packet-mark=mov passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="mp3 DOWNS" disabled=no \
layer7-protocol="Extension \" .mp3 \"" new-connection-mark="mp3 DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="mp3 DOWNS" disabled=\
no new-packet-mark=mp3 passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="mp4 DOWNS" disabled=no \
layer7-protocol="Extension \" .mp4 \"" new-connection-mark="mp4 DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="mp4 DOWNS" disabled=\
no new-packet-mark=mp4 passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="mpeg DOWNS" disabled=no \
layer7-protocol="Extension \" .mpeg \"" new-connection-mark="mpeg DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="mpeg DOWNS" disabled=\
no new-packet-mark=mpeg passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="mpg DOWNS" disabled=no \
layer7-protocol="Extension \" .mpg \"" new-connection-mark="mpg DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="mpg DOWNS" disabled=\
no new-packet-mark=mpg passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="nrg DOWNS" disabled=no \
layer7-protocol="Extension \" .nrg \"" new-connection-mark="nrg DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="nrg DOWNS" disabled=\
no new-packet-mark=nrg passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="pdf DOWNS" disabled=no \
layer7-protocol="Extension \" .pdf \"" new-connection-mark="pdf DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="pdf DOWNS" disabled=\
no new-packet-mark=pdf passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="ram DOWNS" disabled=no \
layer7-protocol="Extension \" .ram \"" new-connection-mark="ram DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="ram DOWNS" disabled=\
no new-packet-mark=ram passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="rar DOWNS" disabled=no \
layer7-protocol="Extension \" .rar \"" new-connection-mark="rar DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="rar DOWNS" disabled=\
no new-packet-mark=rar passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="rm DOWNS" disabled=no \
layer7-protocol="Extension \" .rm \"" new-connection-mark="rm DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="rm DOWNS" disabled=no \
new-packet-mark=rm passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="rmvb DOWNS" disabled=no \
layer7-protocol="Extension \" .rmvb \"" new-connection-mark="rmvb DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="rmvb DOWNS" disabled=\
no new-packet-mark=rmvb passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="wav DOWNS" disabled=no \
layer7-protocol="Extension \" .wav \"" new-connection-mark="wav DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="wav DOWNS" disabled=\
no new-packet-mark=wav passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="wma DOWNS" disabled=no \
layer7-protocol="Extension \" .wma \"" new-connection-mark="wma DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="wma DOWNS" disabled=\
no new-packet-mark=wma passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="wmv DOWNS" disabled=no \
layer7-protocol="Extension \" .wmv \"" new-connection-mark="wmv DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="wmv DOWNS" disabled=\
no new-packet-mark=wmv passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="zip DOWNS" disabled=no \
layer7-protocol="Extension \" .zip \"" new-connection-mark="zip DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="zip DOWNS" disabled=\
no new-packet-mark=zip passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="daa DOWNS" disabled=no \
layer7-protocol="Extension \" .daa \"" new-connection-mark="daa DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="daa DOWNS" disabled=\
no new-packet-mark=daa passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="dat DOWNS" disabled=no \
layer7-protocol="Extension \" .dat \"" new-connection-mark="dat DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="dat DOWNS" disabled=\
no new-packet-mark=dat passthrough=no protocol=tcp
add action=mark-connection chain=prerouting comment="vcd DOWNS" disabled=no \
layer7-protocol="Extension \" .vcd \"" new-connection-mark="vcd DOWNS" \
passthrough=yes protocol=tcp
add action=mark-packet chain=postrouting connection-mark="vcd DOWNS" disabled=\
no new-packet-mark=vcd passthrough=no protocol=tcp
add action=mark-packet chain=prerouting comment=Ping-Request disabled=no \
new-packet-mark=ping_requests passthrough=yes protocol=icmp
add action=mark-packet chain=prerouting disabled=no new-packet-mark=all \
passthrough=no
/queue type
add kind=pcq name=Download 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=250k \
pcq-src-address-mask=32 pcq-src-address6-mask=64 pcq-total-limit=2000
/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s comment=Downloads1 disabled=\
no limit-at=0 max-limit=2M name=Downloads1 packet-mark=\
7z,asf,avi,bin,iso,mkv,exe parent=global-out priority=2 queue=Download
add burst-limit=0 burst-threshold=0 burst-time=0s comment=Downloads2 disabled=\
no limit-at=0 max-limit=2M name=Downloads2 packet-mark=\
mov,mp3,mp4,mpeg,mpg,nrg,pdf,ram parent=global-out priority=2 queue=\
Download
add burst-limit=0 burst-threshold=0 burst-time=0s comment=Downloads3 disabled=\
no limit-at=0 max-limit=2M name=Downloads3 packet-mark=\
rar,rm,rmvb,wav,wma,wmv,zip parent=global-out priority=2 queue=Download
add burst-limit=0 burst-threshold=0 burst-time=0s comment=Downloads4 disabled=\
no limit-at=0 max-limit=2M name=Downloads4 packet-mark=vcd,dat,daa parent=\
global-out priority=2 queue=Download