HeaderAd

Breaking

Tuesday, February 16, 2021

Mikrotik block Facebook and YouTube || Mikrotik block website layer 7 || Mikrotik block websites

 

 Mikrotik block Facebook and YouTube or Any Website  Through Mikrotik Layer 7 And Firewall Rule



In this Tutorial, I shall be detailed describe, how to block Facebook and youtube or any other website you want to restrict users to watch, at the office or network available in any place. Please copy the following code and paste it in the Mikrotik router layer 7 Tab after clicking on the plus sign. After saving the Layer 7 tab rule and go to the Firewall tab and then create a new rule and further process described detailed mentioned below print screens and video tutorial. And Layer 7 URL restricting code is also available below just copy and past it in your router's new layer 7 Rule.

Mikrotik block Facebook and YouTube or Any Website         Through Mikrotik Layer 7 And Firewall Rule

Mikrotik block Facebook and YouTube or Any Website Through Mikrotik Layer 7 And Firewall Rule


In this blog, you learn how to block websites on Mikrotik and how to block using Mikrotik youtube or any other  specific IP or website using Mikrotik content filtering at Mikrotik layer 7.

Video Tutorial:-


After seeing the video tutorial you can understand how to block a URL on Mikrotik. Now all steps print screens below available please follow steps and copy code also for Layer 7 rule creation for implementation.

Step 1:-    

                After logging in to your router first click on IP and then select Firewall.


Step 2:- 

Then select Layer 7 Protocol and after that select plus sign for new rule creation.


Step 3:-

                 Give a name to the new protocol as u like and then copy this code and paste it in the box and apply then ok.

Code:-                                                                                 ^.+(facebook.com|youtube).*$


here Facebook and youtube added you can add any website in brackets that you want to block using | sign.

Step 4:-    Goto Firewall tab and then click plus sign for the new firewall rule.
             


Step5:-    In the general tab select forward in chain.


Step 6:- 


Select the advance tab and then give the IP address or IP range below using - sign like 192.168.2.55-192.168.2.100 or MAC address in the source MAC address column. Select layer 7 protocol in the tab created before.

Step 7:-


Now go to the action tab and select drop in the drop-down list below. Then apply ok  All you have done.

Dear all please subscribe to channel IT4TEACH. I a doing hard work for enhancing your knowledge and I need just your 1 click subscribe me. It gives me the motivation to work more for you and share all my technicalities with you. Thanks.













No comments:

Post a Comment

If you have any doubt please let me know