Facebook block in Mikrotik router by layer 7 protocols
1. IP>Firewall>Layer7 Protocols>add(+)
1.1 Layer7 Protocols
Name : Facebookblock_L7P
Regexp : ^.+(facebook).*$ ; ^.+(facebook |youtube ).*$
1.2 Apply>OK
2.IP>Firewall>Filter Rules>add(+)
2.1 Filter Rules>General>
Chain :forward
Src. Address :192.168.1.0/24 ; LAN IP block
2.2 Filter Rules>advanced>
Layer7 Protocol :Facebookblock_L7P
2.3 Filter Rules>action>
action : drop
2.4 Apply>OK