From 1a292b4f41f99fbae5236917bde8b8c897fbb407 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Fri, 14 Jan 2022 16:52:07 +0100 Subject: [PATCH] Fix firewall rules --- config/containers/named.nix | 2 ++ config/wireguard.nix | 1 + 2 files changed, 3 insertions(+) diff --git a/config/containers/named.nix b/config/containers/named.nix index 6d9a32af..6b9b4b23 100644 --- a/config/containers/named.nix +++ b/config/containers/named.nix @@ -12,4 +12,6 @@ system.stateVersion = "21.11"; }; }; + networking.firewall.allowedTCPPorts = [ 53 ]; + networking.firewall.allowedUDPPorts = [ 53 ]; } diff --git a/config/wireguard.nix b/config/wireguard.nix index 1f9d633b..39f1ee37 100644 --- a/config/wireguard.nix +++ b/config/wireguard.nix @@ -17,4 +17,5 @@ ]; }; }; + networking.firewall.allowedUDPPorts = [ 51820 ]; }