Mikrotik: filter streaming

From OnnoWiki
Jump to navigation Jump to search


/ip firewall layer7-protocol add name=http-video regexp="http/(0.9|1.0|1.1)[x09-x0d ][1-5][0-9][0-9][x09-x0d -~]*(content-type: video)"

/ip firewall mangle add action=mark-packet chain=prerouting comment="http-video mark-packet" disabled=no layer7-protocol=http-video new-packet-mark=http-video passthrough=no
/queue simple add max-limit=0/64000 name=http-video packet-marks=http-video