My settings:System/Settings/General: - DNS Servers: all empty - Do not use the local DNS service as a nameserver for this system: chekedServices/Unbound DNS/General: - port: 5353 - DNSSEC: enabled - DHCP Registration: disabled - DHCP Static Mappings: disabled - Local Zone Type: transparentUnbound DNS - Miscellaneous - DNS over TLS Servers: 1.1.1.1@853 1.0.0.1@853In Adguard Home - DNS Configuration - Upstream Servers: 192.168.1.1:5353In Adguard Home - DNS Configuration - Bootstrap DNS servers: 192.168.1.1:5353In Adguard Home - configuration - clients configuration - add client: Add ip and hostname
Opnsense 21.1.4 Installation:1 - Activate mimugmail's community repository2 - Install AdGuardHome from System --> Firmware --> Plugins3 - Activate and start AdGuardHome from Services --> AdGuardHome4 - Navigate to http://your.opnsense:3000/ to complete the setup5 - In Adguard Home - DNS Configuration - Upstream Servers: Set the desired servers ( 1.1.1.1, 8.8.8.8 etc )6 - In Opnsense disable Unbound. In case you want to use it leave it activated by changing the port to 5353 and in Adguard Home - DNS Configuration - Upstream Servers add router_ip:5353 - It is not necessary to activate the internal opnsense dns ( 127.0.0.1 ) in Opnsense in System-Settings-General - No need to make port forward rules to forward all DNS (Port 53) traffic to AdGuard - No need to set dns servers to DHCPDNS over HTTPS - DNS over TLS:Option 1: - In Opnsense - Unbound - Miscellaneous set the desired dns servers 1.1.1.1@853 8.8.8.8@853 - Active Unbound in port 5353 - In Adguard Home - DNS Configuration - Upstream Servers add router_ip:5353Option 2 ( Unbound disabled ): https://github.com/AdguardTeam/AdGuardHome/wiki/Encryption
- Follow the tutorial explained above for Adguard.
Great instructions! Thank you The only issue I'm facing is getting the firewall redirect rule for dns just won't work for me.I've tried using the "LAN address" object, and also specifying my LAN IP address and my VirtualIP's, but it just doesn't seem to want to redirect the dns traffic I did notice when setting up Adguard it chose my Virtual IP, instead of my LAN address.I feel like I'm missing something really simple, but I'm not sure what?Interface: LANProtocol: TCP/UDPDestination / Invert: TickedDestination: LAN addressDestination port range: From: DNS - To: DNSRedirect target IP: 127.0.0.1Redirect target port: DNSDescription: Forward DNS to AdGuardNAT Reflection: Disable