Pages

Thursday, May 25, 2017

Facebook and Youtube Block including Mobile APP by MikroTik




We can block Facebook and YouTube from Laptop/Desktop and also from Mobile APPs

*** Blocking Facebook

Login MikroTik via Winbox: Goto "IP" -> Firewall -> Layer7 Protocol

+ Add => Name = Facebook ,
                Regexp :
^.+(facebook.com|apps.facebook.com|
www.connect.facebook.net|m.facebok.com|staticak.connect.facebook.com|login.facebook.com|fbcdn.net ).*$

** Now add Filter rules for your local network 192.168.1.0/24

IP -> Firewall -> Filter Rules-> ADD -> Forward chain -> SRC Address: 192.168.1.0/24

Advance -> Layer7 Protocl = Facebook => Action =DROP


*** Blocking YouTube

Goto: IP --> Firewall --> Filter --> Add -> Chain=Forward --> SRC Address: 192.168.1.0/24 -> advance--> Content="googlevideo",  Action= Drop


Goto: IP --> Firewall --> Filter --> Add -> Chain=Forward --> SRC Address: 192.168.1.0/24 -> advance--> Content="youtube",  Action= Drop


==================== Enjoy ######################################