untuk layer 7
/ip firewall layer7-protocol
add name="Limit IDM" regexp="get /.*(user-agent: mozilla/4.0|range: bytes=)"
add name=http-video regexp="http/(0.9|1.0|1.1)[x09-x0d ][1-5][0-9][0-9][x09-x0\
d -~]*(content-type: video)"
add name=VIDEO regexp=video
add name=AUDIO regexp=audio
add name=donlotan regexp="^.*get.+\\.(exe|rar|zip|7z|cab|asf|mov|wmv|mpg|mpeg|\
mkv|avi|flv|pdf|wav|rm|mp3|mp4|ram|rmvb|dat|daa|iso|nrg|bin|vcd|mp2|3gp|mp\
e|qt|raw|wma|ogg|doc|deb|tar|bzip|gzip|gzip2|0[0-9][0-9]).*\$"
untuk mangle nya
/ip firewall mangle
add action=mark-packet chain=prerouting connection-mark=video \
new-packet-mark=video passthrough=no
add action=mark-connection chain=prerouting layer7-protocol=AUDIO \
new-connection-mark=yutup
add action=mark-connection chain=prerouting layer7-protocol=VIDEO \
new-connection-mark=yutup
add action=mark-packet chain=forward connection-mark=yutup new-packet-mark=\
youtube passthrough=no
add action=mark-packet chain=forward comment=STREAMING connection-mark=\
STREAMING new-packet-mark=STREAMING passthrough=no
add action=mark-packet chain=forward comment=Donlotan layer7-protocol=\
donlotan new-packet-mark=paket-donlot passthrough=no protocol=tcp
filter untuk idm
/ip firewall filter
add action=drop chain=forward connection-limit=2,32 layer7-protocol=\
"Limit IDM" protocol=tcp
membuat queue type
/queue type add kind=pcq name=GRATIS pcq-classifier=dst-address pcq-rate=256k
membatasi streaming dan youtube
/queue tree
add comment=YUOTUBE max-limit=512k name=YOUTUBE packet-mark=youtube parent=\
global priority=5 queue=default
add max-limit=128k name=STREAMING packet-mark=STREAMING parent=global queue=\
default
add max-limit=256k name=" Limit Download" packet-mark=paket-donlot parent=\
global queue=GRATIS

I cannot wait to dig deep and kickoff utilizing resources that I received from you. Your exuberance is refreshing. Video Streaming Server
ReplyDelete