From 62abe6b4a9e2fefe4436d3de50a43eeb3b01a315 Mon Sep 17 00:00:00 2001 From: Ittihadyya Date: Fri, 20 Dec 2024 18:45:08 +0200 Subject: [PATCH] open ports to allow prometheus data collection --- networking/firewall.mod.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/networking/firewall.mod.nix b/networking/firewall.mod.nix index 9a383c6..485fd99 100644 --- a/networking/firewall.mod.nix +++ b/networking/firewall.mod.nix @@ -3,6 +3,14 @@ { networking.firewall.enable = true; networking.nftables.enable = true; + networking.firewall = { + allowedTCPPorts = [ + 6703 + ]; + allowedUDPPorts = [ + 6703 + ]; + }; } ];