Keep Valheim endpoint public on LAN

This commit is contained in:
rope 2026-09-15 15:04:48 +01:00
parent 214845d71e
commit 10b38f5405

View file

@ -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; }
];
};