Mikrotik : How to Block Facebook – Youtube and Other sites using L7 (Layer7)

Below i will show you how to block facebook and youtube sites using Mikrotik L7 Protocols (Layer 7). here i use RouterBoardOS RB1100.

STEP 1:
you have to create new Regexp rule at Layer7 Protocols by Press  , and name it as “DENIED” (withoue quote), see details below:

You can Copy & Paste the code above at below:
^.+(facebook.com|youtube).*$

STEP 2:
Now create Filter Rules, as follow:

At General Tabs for Chain, Please Choose : Foward
At Advanced tabs, select ‘DENIED’ (rule that you have
create at step 1) for Layer7 Protocols
Choose Action ‘DROP’

And At last, your Filter rule to block facebook and youtube should have effected to your network.

try to access facebook & youtube, and you will see that the two sites will not able to access.
this can be see from the filter rule you have created, it will catch the bytes for denied sites in your network.
Comments
  1. S. M. Rabiul Islam
  2. saad
    • CTadmin
  3. jamts
  4. Exp3rt
  5. Faruq
  6. Sanjeev
  7. laxmi
  8. Visal
  9. Devender Kumar
  10. laxmi
  11. IBRAHIM
  12. Sokunthearo
  13. Vector
  14. Kishu
  15. LUSO
  16. Darko
  17. samson
  18. mrinal
  19. chantha
  20. patos
    • iT Websols
  21. Mr. Mohsin

Leave a Comments

Your email address will not be published. Required fields are marked *