117. Mikrotik Block IDM, Facebook and Youtube Download


You can contact me: plus.google.com/+PhallaCCMT; youtube.com/phallaccmt; facebook.com/Phalla.CCMT; twitter.com/PhallaCCMT and Phalla.CCMT@gmail.com

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

Previous
Next Post »

6 comments

Write comments
Corner Blog
AUTHOR
August 21, 2017 at 7:49 AM delete

You 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

Reply
avatar
September 5, 2017 at 8:50 PM delete

I still cannot block IDM Bro

Reply
avatar
kyaw zin
AUTHOR
October 16, 2017 at 11:16 PM delete

no it does not i think i can put static ip and write firewall

Reply
avatar
Unknown
AUTHOR
January 15, 2018 at 5:13 AM delete

Hope 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

Reply
avatar
Ayoola Noah
AUTHOR
March 12, 2018 at 2:22 AM delete

hi,
My 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

Reply
avatar