Block Url On Mikrotik

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

How To Block Website on MikroTik [Layer7 protocols]

How To Block Website on MikroTik [Layer7 protocols]

Here we will discuss how to block website on MikroTik? how to block domain in MikroTik router and how to
block social media websites on MikroTik, like Youtube, Facebook, Twitter.

Server Tutorials - Mar 06, 19 - by Oliver K - 2 min Read

If you are managing a network and you would like to filter website domain in MikroTik router (such as Facebook,
Youtube, Twitter, or other social media), it is possible to set up the configurations by following the steps below:

Step 1: add the website name to the list and then take the action to accept or drop the URL. To perform this, go
to

IP> Firewall > “layer7 protocols”.

Step 2: Click on the plus icon. In the opened small window, type a name for the website domain and in the Regexp
box type the domain expression like ^.+(yourdomain).*$.
Step 3: After adding the sites to the list, you should grant the URLs to have access or not. To do this, return to the
first tab “filter rules” and click on “+” icon.

Step 4: Select chain method “forward” and let source address and destination address empty as we want to do
this rule for all users connected to the network. Select 6(TCP) from the “protocol” drop-down list and enter 80 and
443 into the port field. Note that you should separate port numbers with a comma(,).

Step 5: Go to the Advanced tab and select the name of the URL defined in step 2 from the “layer7 protocol” field.
Step 6: Go to the action tab and select action type from the “action” field. Select “accept” to allow access to the
URL and select “Drop” to deny access to the URL.

Conclusion
With this tutorial, you can easily block websites in Mikrotik, or allow website domains to be accessed on your
network. MikroTik Router has many utilities to configure and manage the network, in this article you have found
how to block websites in MikroTik router. for example with this tutorial, you can block youtube on the MikroTik
server.

People are also reading:

How to Block IP address in MikroTik Router?


How to Backup MikroTik Configuration?
How To Port Forward on MikroTik Router?
How to Update MikroTik OS?
What is Mikrotik Default Password?

MonoVM Services: Dedicated Server, Domain Services, VPS Hosting, Web Hosting and
SSL Certificate

Follow us on social media:

You might also like