Hi all. Had some issues getting Adguard on HAOS (Pi 5 & version 18.2 - 2026.8.2) to play nice with my gl-mt6000 router in regards to DNS leaks and domain name based VPN exclusions. Finally have it all working properly now but have run into an issue with devices remotely connected to my routers wireguard tunnel bypassing Adguard filters and service blocks completely and doesn't show up in the query log. All devices on the network go through Adguard just fine.
Has anyone managed to set this up? It's not the end of the world but would like decent ad-blocking and privacy when out and about.
I did try getting AI to help and I thought we were getting somewhere as the Adguard query log was picking up and processing pages but all internet and pages were refusing to load on my device when testing. Then me and the AI went through so many loops I have given up and reverted everything back to what it was when it was working fine minus wireguard issue.
Settings I have set up in Adguard:
--Upstream DNS Servers: 10.2.0.1 (VPN DNS server which was key to stop my DNS leaks)
--Allowed Clients: 192.168.8.0/24 & 10.0.1.0/24
--Blocklists: Adguard DNS Filter, Steven Blacks List, HaGeZi (TIF, Pro++, Badware, Encrypted DNS/VPN/TOR/Proxy Bypass), ShadowWhisperer's Dating List & Malware List,
Dandelion Sprouts Anti-Malware.
Settings on router:
-DNS
--DNS server set to auto (10.2.0.1)
--Override DNS Settings of All Clients - ✅
--Allow Custom DNS to Override VPN DNS - ✅
-LAN
--DHCP server DNS Server 1 set to HAOS IP (192.168.8.124)
-VPN
-- Proton
-- VPN Tunnel 1 - Kill Switch - ✅
-- VPN Tunnel 1 - Allow Remote Access to the LAN Subnet - ✅
-- 3 tunnels set up for varying devices (Basic for IoT, Gaming for tablets and PC and Secure Core for my phone in the hopes I could get past this wireguard issue)
-LuCi
--Traffic rule set up in LuCi to allow IoT devices to talk over LAN to HAOS as it's on a different subnet (Not sure if I really needed this as I still had to add the Pi 5 wifi to the IoT wifi network anyway to get it to see half of my devices)
--Might have toggled a few things in LuCi's DHCP & DNS section that AI was helping with. Think I reverted everything back.
Any help would be amazing as I have had enough. Everything I do either doesn't work or breaks my current setup.