I just added firewall rules to intercept the DNS queries of devices I would like to use adguard on. Port 65353 is the DNS port on which AdGuardHome is listening.
Plain and simple. No need to tinker with any other settings.
config redirect
option name 'Intercept-DNS_SAMSUNG-TV'
option target 'DNAT'
list proto 'tcp'
list proto 'udp'
option src 'lan'
option src_ip '192.168.73.60'
option src_dport '53'
option dest 'lan'
option dest_ip '192.168.73.1'
option dest_port '65353'
opkg doesnt see this package for me
im sure its because i use the @davidc502 builds
Is there an address i can put in
/etc/opkg/customfeeds.conf
or
/etc/opkg/distfeeds.conf
to get this package listed?
no i like the davidc builds (imo they are the best for linksys wrt series), i dont want to reflash my device
but i should be able to just add the repository, i just dont know what the address is
Can anyone elaborate how to setup these steps mentioned by @erdoukki ?
I couldn't figure out the following instructions:
DNS/MASQ
Use another port for DNS/MASQ (9153)
Remove all upstreams DNS from DNS/MASQ
Configure AdGuard Home to replace DNS/MASQ (use port 53)
Add your local domain to DNS at port 9153
Add upstreams DNS servers v4 and v6 to DNS config
LAN
DHCP v4 and v6 force LAN DNS
Optionnaly add firewall rules to Hijack DNS on your LAN
I am very grateful to everyone in this post for giving solutions to different problems. Thank you @brokenpipe for writing a detailed guide for beginners like me.
. Это к тому, как работает на устройстве с 128 Мб ОЗУ.
Но у меня следующая проблема, не блокирует порно сайты при использовании семейных днс адгуард(94.140.14.15, tls://dns-family.adguard.com) . Если набрать в поисковике "порно", то почти каждую вторую ссылку пропускает adguard home, даже если при этом включена опция "Родительский контроль". Зато блокирует комментарии в Ютуб. Вот для чего включать безопасный режим в Ютуб? Для чего вы это делаете, порно не блокируете, а комментарии в ютуб блокируете.
Вот семейные днс от яндекс очень хорошо блокируют порно. Подскажите кто знает, как настроить так, чтобы и порно не пропускал, и рекламу блокировал, и комментарии в ютуб оставались, и днс запросы были зашифрованы. А то сейчас мне приходится идти на компромиссы, и в качестве ДНС указывать семейные днс от яндекс, рекламу блокируют фильтры, но не могу использовать DNS-over-TLS , т.е. зашифровать свои запросы. Только функцию блокировки рекламы выполняет у меня AdguardHome. Ни DNS-over-TLS, ни блокировку взрослого контента не получается настроить, чтодбы все работало одновременно.
How can I use my VPN provider DNS (bypassing the AGH DNS) when OpenVPN is running?
When I perform a DNS Leak Test I notice that AGH is resolving the DNS queries which implies DNS Leak from the VPN provider standpoint.
Edit the DHCP to disable port 53 for DNS:
Network>DHCP and DNS>DNS Server Port and change it from 53 to 0
Then go to AdguardHome Setup(Example: http://127.0.0.1:3000) and it won't ask you to change the DNS port.
Remove all upstreams DNS from DNS/MASQ
SSH into the router. Then open the dhcp config file by running
nano /etc/config/dhcp
Then under config dnsmasq add noresolv like this(Source):
option noresolv '0'
Configure AdGuard Home to replace DNS/MASQ (use port 53)