You experience problems when blocking facebook and youtube applications using Mikrotik, many tutorials explain using layer7 or TLS content, but after trying it only works for websites. Well here I will explain how to block the two applications, I have also tried this on my android cellphone, and the results are working.Here we will create four filter rules on the firewall, two for TCP protocol and two for UDP. Why does it have to be UDP too? based on my personal experience when opening youtube it can still be accessed, after I experimented with UDP it was immediately blocked.The steps are simple, look carefully.Facebook TCPip firewall filter add chain=forward src-address=192.168.2.0/24 protocol=tcp dst-port=80,443 content=facebook action=drop comment="facebook tcp"
Facebook UDPip firewall filter add chain=forward src-address=192.168.2.0/24 protocol=udp dst-port=80,443 content=facebook action=drop comment="facebook udp"
Youtube TCPip firewall filter add chain=forward src-address=192.168.2.0/24 protocol=tcp dst-port=80,443 content=youtube action=drop comment="youtube tcp"
Youtube UDPip firewall filter add chain=forward src-address=192.168.2.0/24 protocol=udp dst-port=80,443 content=youtube action=drop comment="youtube udp"
If you are confused about using the terminal, please note the following picture. |
step1 |
|
step2 |
|
step3 |
Just enter the youtube name in the Content column, as well as Facebook and make sure the src. Address refers to the ip network that you want to block, for example my local ip network is 192.168.2.0/24.Tutorial how to block facebook and youtube applications on this mikrotik also applies to block youtube websites both http and https.Next test by opening the application or web via the browser while monitoring whether the rule is functioning properly or not, select the rule and then go to the Statistics menu. To make sure the rule really works, please close the browser or the application, then open it again.The following are the results of my trial, and the results work. Give comments and testimonials because it is important for the next visitor to know whether this tutorial is still working or not, if you feel this method does not work, please use another method, because I only share the experience that I experienced. |
app facebook android |
|
app youtube android |
Thank you, hope it's useful.
0 Response to "How to block Youtube and facebook Android App in router Mikrotik"
Post a Comment