adguardhome: Implement initial package recipe 12408/head
authorDobroslaw Kijowski <dobo90@gmail.com>
Tue, 2 Jun 2020 13:19:52 +0000 (15:19 +0200)
committerDobroslaw Kijowski <dobo90@gmail.com>
Wed, 7 Oct 2020 22:26:12 +0000 (00:26 +0200)
commit9d2d678db500084e108b78c746da4e720a8b8e51
tree96f81a2a5de55cb8d4a5606823d59027fbebd64f
parent5d1127b7fe507c9189bcf77a8d8b80c4304967e8
adguardhome: Implement initial package recipe

AdGuardHome is a network-wide ads and trackers blocking DNS server.
After installing it with opkg, start it like every service:
/etc/init.d/adguardhome start

In order to complete the installation vist http://{YOUR_ROUTERS_IP}:3000.

Then you can setup dnsmasq to forward DNS traffic to AdGuardHome:
uci -q delete dhcp.@dnsmasq[0].server
uci add_list dhcp.@dnsmasq[0].server=127.0.0.1#{PORT_SET_DURING_INSTALL}
uci set dhcp.@dnsmasq[0].noresolv=1
uci commit dhcp
/etc/init.d/dnsmasq restart

Signed-off-by: Dobroslaw Kijowski <dobo90@gmail.com>
net/adguardhome/Makefile [new file with mode: 0644]
net/adguardhome/files/adguardhome.init [new file with mode: 0644]