Script:
/ip firewall layer7-protocol
add name=L7-IDM regexp="get /.*(user-agent: mozilla/4.0|range: bytes=)"
add name=L7-Youtube regexp=youtube.com|googlevideo.com
add name=L7-Facebook regexp=fbcdn.net|facebook.com
/ip firewall filter
add action=drop chain=forward comment="Block IDM" connection-limit=2,32 \
disabled=yes layer7-protocol=L7-IDM
add action=drop chain=forward comment="Block Youtube" connection-limit=2,32 \
disabled=yes layer7-protocol=L7-Youtube
add action=drop chain=forward comment="Block Facebook" connection-limit=2,32 \
disabled=yes layer7-protocol=L7-Facebook
Note:
If you want to block for specific user/ip, you can add that ip to filter rule.
Ex.
/ip firewall filter
add action=drop chain=forward comment="Block IDM" connection-limit=2,32 \
disabled=yes layer7-protocol=IDM-Down src-address=192.168.88.103
add action=drop chain=forward comment="Block Youtube" connection-limit=2,32 \
disabled=yes layer7-protocol=L7-Youtube src-address=192.168.88.103
add action=drop chain=forward comment="Block Facebook" connection-limit=2,32 \
disabled=yes layer7-protocol=L7-Facebook src-address=192.168.88.103
6 comments
Write commentsYou can buy Youtube views which come from genuine Youtube accounts. In no time, your video will go viral and everyone will enjoy watching your fantastic video. viewgrip.net
ReplyI still cannot block IDM Bro
Replyno it does not i think i can put static ip and write firewall
ReplyHope you are fine dear i want to block only videos not facebook and youtube only videos from IDM in your case all block facebook , youtube
ReplyNot Working
Replyhi,
ReplyMy name is Noah from nigeria, please I need your help on script to block IDM on mikrotik router for all browser i.e google chrome, mozilla e.t.c.
I will be grateful if my request can be granted, thanks.
regards,
Ayoola Noah.
ayoolanoah2004@gmail.com
EmoticonEmoticon