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.
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: