You are on page 1of 1

BAB 1

/ip ferewall layer7-protocol

Add name=L7-IDM regexp=”get / .”(user-againt: mozilla/4.0 range: bytes=)”

Add name=L7-youtube regexp=outube.com googlevidio.com

Add name=L7-facebook regexp=fbcdn.net facebook.com

/ip firewal filter

Add action=drop chain=forward comment=”block IDM’ connection-limit=2,3 \

Disabled=yes layer7=protocol=L7-IDM

Add action=drop chain=forward comment=’block youtube” connetion- limit=2,32 \

Disabled= yes layer7 protocol=L7 youtube

Add action=drop chain=fordward comment=”block facebook” connection-limit=2,32 \

Disabled =yes layer7-protocol=L7-facebook

/ip firewall layer7-protocol

Add name=youtubeBW regexp=youtube.com

/ip firewall mangle

Add action=mark-connection chain=prerouting connection-bytes=\

262146-4294967295 in-inteface=ether1-getway new-connection-mark=\

Download protocol=tcp src-port=21,80

Add action=mark-packet chain=forward comment=youtube layer7-protocol=\

YoutubeBW new-packet-mark=”youtube packet”

/queue type

Add kind=pcq name=PCQ pcq-classifiler =dst-address pcq-dst-address6-mask64 \

/queue simple

Add limit-at=0/0 mask-limit=256k/256k name=youtube packet-marsk=\

“youtube packet’ queue=PCQ/PCQ target=’’ ‘’

/queue tree

Add max-lilit=256k name=download packet-mark=download parent=global queue=PCQ

You might also like