52. Mikrotik Limit Speed Youtube

Here is a script:

/ip firewall layer7-protocol
add name=youtubeBW regexp=youtube.com

/ip firewall mangle
add action=mark-packet chain=forward comment=youtube layer7-protocol=\
    youtubeBW new-packet-mark="youtube packet"

/queue type
add kind=pcq name=PCQ pcq-classifier=dst-address pcq-dst-address6-mask=64 \
    pcq-rate=256k pcq-src-address6-mask=64

/queue simple
add limit-at=0/0 max-limit=256k/256k name=Youtube packet-marks=\
    "youtube packet" queue=PCQ/PCQ target=""
Previous
Next Post »

EmoticonEmoticon

:)
:(
=(
^_^
:D
=D
=)D
|o|
@@,
;)
:-bd
:-d
:p
:ng