How To Block HTTPS Facebook and Youtube and Other Sites on Mikrotik Router

This guide show how to block https sites like facebook, youtube, twitter and other sites using filter rules and mangle on mikrotik router. There are some https sites like facebook that can not be blocked by using L7 protocols and proxy. But if you try the method below, all the desired https sites can be blocked.

Blocking HTTPS Facebook

1. Download winbox first, and login to mikrotik router.
2. Go to IP => Firewall. On the Mangle Tab, add New Mangle Rule. Enter parameter value as shown below :



3. Go to IP => Firewall. On the Filter Rules, add Firewall Rule. Enter parameter value as below :




4. Please test by accessing facebook on your browser.

1 Response to "How To Block HTTPS Facebook and Youtube and Other Sites on Mikrotik Router"

matt said...

I made the same for youtube and it blocks through browser, but it doesn't block anything through YiuTube app on iPhone/iPad...