Savior Faire

Adguard on Mikrotik Router

This is a tutorial on how to install a AdGuard Home DNS docker on your Mikrotik router. AdGuard Home is a free service you can use.

I swtiched my Asus router to a Mikrotik Router. As I was one of the unfortunate guy who was using a x86 Asus router, so I cannot use a reliable Asuswrt-Merlin. But after doing some researches online, I realize Mikrotik Router is too good to be true: they are cheap, the RouterOS is too powerful for a home user, and most importantly, it gets updates from time to time. Just that they are often out of stock. But I eventually get a hAP AX3. It is a great router, with possibility in using dockers to extend the functions of a router. I Instead of installing a pi-hole, I choose AdGuard Home instead.

The following tutorial is mostly referred to this tutorial by the Network Berg with some editings on steps. I transcript them to words, so that when navigating the tools, we can save a bit of time.

For this tutorial, I am using a Mikrotik hAP AX3 router with RouterOS 7.10.

[!warning] RouterOS has a major change in 7.14, so some of the procedures might be obsolete.


Preparing the Router

You will first need to enable the Container function in the router.


Configuring a virtual network

The next step would be quite technical, but as a layman, we can just follow the below step to create a virtual network for your Adguard Home

Then we have finished configuring the virtual network, time to move on to create a container!


Creating a container in RouterOS

We continue to perform the following tasks in Winbox, or the webUI.


Forcing all your devices use Adguard Home Server as DNS

Just two more steps to force your devices in your network to use Adguard Home as your DNS.


Enable some filters and check whether AdGuard is really guarding your DNS

By default, AdGuard Home only enables some filters, you can introduce to optimize your browsing experience.

#Tutorials