Today we will show you how to Block Facebook App on Phones and Tablets (iOS and Android) as bellow:
In this configuration we use RouterBOARD wAP 2nD r2 with firmware v6.42.7
1. Create Layer 7
/ip firewall layer7-protocol
add name=Block-Facebook-App regexp="^.+(www.facebook.com|facebook.com|login.facebook.com|www.login.facebook.com|fbcdn.net|www.fbcdn.net|fbcdn.com|www.fbcdn.com|static.ak.fbcdn.net|static.ak.connect.facebook.com|connect.facebook.net|www.connect.facebook.net|apps.facebook.com).*\$"^.+
2. Create filter rule to Block Youtube App
/ip firewall filter
add action=drop chain=forward layer7-protocol=Block-Facebook-App src-address= 10.10.10.0/24