1. Membuat layer7
/ip firewall layer7-protocol add name=youtube regexp="http/(0\.9|1\.0|1\.1)[\x09-\x0d ][1-5][0-9][0-9][\x09-\x0d -~]*(content-type: video)"
2. Membuat mangle
/ip firewall mangle add action=mark-packet chain=prerouting comment="Limit Video" disabled=no layer7-protocol=youtube new-packet-mark=http-video passthrough=no
3. Membatasi bandwidth dengan Queue simple
/queue simple add max-limit=0/64000 name=http-video packet-marks=http-video
Contoh diatas bahwa Youtube dibatasi 64KB.
Selamat mencoba.
No comments:
Post a Comment