From f11bc1b50a1c408726cbd67eef1a05e18303b6ba Mon Sep 17 00:00:00 2001 From: lilly <li@lly.sh> Date: Tue, 4 Mar 2025 23:08:38 +0100 Subject: [PATCH] fix firewall for auth-dns --- systems/auth-dns.noc.eh22.intern.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/systems/auth-dns.noc.eh22.intern.nix b/systems/auth-dns.noc.eh22.intern.nix index 1ccfcb2..153c5b2 100644 --- a/systems/auth-dns.noc.eh22.intern.nix +++ b/systems/auth-dns.noc.eh22.intern.nix @@ -51,6 +51,12 @@ in settingsFile = knotConf; }; + # configure remaining network to work + networking.firewall = { + allowedTCPPorts = [ 53 ]; + allowedUDPPorts = [ 53 ]; + }; + # DO NOT CHANGE # this defines the first version of NixOS that was installed on the machine so that programs with non-migratable data files are kept compatible home-manager.users.noc.home.stateVersion = "24.11";