AdGuard Home can act as a network DNS server that centrally filters ads and tracking domains. This article adapts the direct-on-router installation flow for OpenWrt; check RAM, flash storage, and the current owner of DNS port 53 before starting.
Source reference: i12bretro – Install AdGuard Home on an OpenWRT Router . The original video belongs to i12bretro on YouTube .

Requirements
- An OpenWrt router with working LuCI and SSH access.
- The router CPU architecture:
arm32,arm64,mipsel, or another supported target. - Enough storage for the binary, filters, query logs, and statistics.
- The router IP address, SSH credentials, and a management computer.
AdGuard Home normally needs DNS port 53 to receive queries directly. Dnsmasq or another resolver may need to move to a different port, so inspect the current services before stopping anything.
Install dependencies
- Open LuCI and log in.
- Go to System > Startup.
- Find
dnsmasq, click Stop, and disable Enabled for this test setup. - Open System > Software.
- Search for and install:
ca-certificatesca-bundlelibustream-openssl
Download and install AdGuard Home
- Open the AdGuard Home Getting Started page.
- Select the Linux binary matching the router architecture.
- Copy its download URL.
- SSH into the router and run the following commands, replacing the URL and filename with the downloaded architecture:
| |
AdGuardHome_linux_amd64.tar.gzis only an example. Replace it with the correct architecture. Use--no-check-certificateonly when its implications are understood; fixing the router CA store and clock is preferable in production.
Configure the Web UI and DNS service
- Open
http://OpenWRTIP:3000in a browser. - Click Get Started.
- Select the interface and port for the Admin Web Interface.
- Select the interface and port for the DNS Server; do not use port
80for the Web UI if LuCI already owns it. - Create an administrator username and password.
- Click Next on the following page.
- On the congratulations page, click Open Dashboard.
- Log in with the account created during setup.
- Update the network DHCP/DNS settings so clients use the intended DNS server, then verify queries from individual clients in the query log.
Warning: Low-power routers or devices with limited flash may not be suitable for AdGuard Home. Stopping dnsmasq before preparing a replacement DNS/DHCP path can make clients lose name resolution.
Source and video
- Original tutorial: i12bretro 0442
- Original video: Install AdGuard Home on an OpenWRT Router
- AdGuard Home: GitHub – AdGuardHome


Góp Ý / Bình Luận / Đánh giá