Block Video Streaming in Mikrotik

Limit Queue Video Streaming in Mikrotik 


Assalam-o-Alaikum!
Limit Queue for Video Streaming "eg:Youtube" and Video Download using Layer7-Protocol.

LAYER7-PROTOCOL
/ip firewall layer7-protocol add comment="" name=streaming regexp="^.*get.+\\.(c.youtube.com|cdn.dailymotion.com|metacafe.com|mccont.com).*\$"
OR
/ip firewall layer7-protocol add comment="" name=streaming regexp="videoplayback|video"
IP FIREWALL MANGLE

/ip firewall mangle add action=mark-packet chain=prerouting \ comment="Mark Packet Streaming" disabled=no \ layer7-protocol=streaming new-packet-mark=streaming \ passthrough=no
Queue
/queue tree add name="streaming" parent=global-out \ packet-mark=streaming limit-at=0 queue=default \ priority=8 max-limit=128k burst-limit=0 \ burst-threshold=0 burst-time=0s

Post a Comment

0 Comments

About