From a55109782c135d56d0520afa57dadea0f210459a Mon Sep 17 00:00:00 2001 From: Myned Date: Thu, 6 Feb 2025 20:42:34 -0600 Subject: [PATCH] adguardhome: fix ports Signed-off-by: Myned --- options/custom/containers/adguardhome.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/options/custom/containers/adguardhome.nix b/options/custom/containers/adguardhome.nix index b7879a3..92e1cb8 100644 --- a/options/custom/containers/adguardhome.nix +++ b/options/custom/containers/adguardhome.nix @@ -17,15 +17,18 @@ in { virtualisation.arion.projects.adguardhome.settings.services = { # https://github.com/AdguardTeam/AdGuardHome # https://adguard-dns.io/kb/adguard-home/overview/ + #?? ls /var/lib/caddy/.local/share/caddy/certificates/* adguardhome.service = { container_name = "adguardhome"; image = "adguard/adguardhome:v0.107.56"; ports = [ - "53:53" # DNS - "853:853" # DNS-over-TLS - "3003:80" # Admin panel - "8443:443" # DNS-over-HTTPS + "53:53/tcp" # DNS + "53:53/udp" # DNS + "853:853/tcp" # DNS-over-TLS + "853:853/udp" # DNS-over-QUIC + "3003:80/tcp" # Admin panel + "8443:443/tcp" # DNS-over-HTTPS ]; restart = "unless-stopped"; @@ -40,11 +43,13 @@ in { # https://github.com/AdguardTeam/AdGuardHome/wiki/Encryption networking.firewall = { allowedTCPPorts = [ + 53 # DNS 853 # DNS-over-TLS ]; allowedUDPPorts = [ 53 # DNS + 853 # DNS-over-QUIC ]; };