In this tutorial, I will show you, how to block facebook or some others website, using Layer 7 Protocol.
1.Block facebook website for everyone on local network
Check the IP address of our client
Next step is to to create new Regexp rule at Layer7 Protocols for blocking facebook in local network.
Enter the next line:
Now, we need to create Filter Rule, using the next steps:
2. Allow facebook for specific host(s) and block for others on local network.
Now, we want to allow facebook for 2nd client (172.16.10.199/24) but still want to block it for other host(s).
Next we need to create a second Filter rule
Move this rule at the top:
At the end test to see what happens.