From 10b38f5405e95e86f273eeaf60846fb360858399 Mon Sep 17 00:00:00 2001 From: rope Date: Tue, 15 Sep 2026 15:04:48 +0100 Subject: [PATCH] Keep Valheim endpoint public on LAN --- services/adguard.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/services/adguard.nix b/services/adguard.nix index 06140be..c23e0a0 100644 --- a/services/adguard.nix +++ b/services/adguard.nix @@ -57,11 +57,13 @@ in { enabled = true; id = 3; name = "OISD Big"; url = "https://big.oisd.nl/"; } ]; - # Resolve our own hostnames to the router's LAN IP so LAN clients - # bypass any NAT reflection. `enabled` was added in AdGuard's recent - # schema and defaults to false — must be set explicitly. + # Resolve hosted service subdomains directly to the router. Keep the + # bare nordhammer.it name public: Valheim/Steam identifies the server + # by that public endpoint, and router.nix reflects only the Pelican + # game-port range back into the LAN. Rewriting the bare name here made + # gameplay work but left the in-game browser showing a red status icon. + # `enabled` was added in AdGuard's recent schema and defaults to false. filtering.rewrites = [ - { domain = "nordhammer.it"; answer = "10.0.0.1"; enabled = true; } { domain = "*.nordhammer.it"; answer = "10.0.0.1"; enabled = true; } ]; };