From 9a03bc12707bddb6e61cad2aaf97c2e342d7f315 Mon Sep 17 00:00:00 2001 From: Astro Date: Tue, 5 Sep 2023 23:27:30 +0200 Subject: [PATCH] spaceapi: allow collectd stats in firewall they're used in spaceapi as sensors --- hosts/spaceapi/default.nix | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/hosts/spaceapi/default.nix b/hosts/spaceapi/default.nix index eb038ddb..c6e854d8 100644 --- a/hosts/spaceapi/default.nix +++ b/hosts/spaceapi/default.nix @@ -4,9 +4,14 @@ _: c3d2.deployment.server = "server10"; networking = { - firewall.allowedTCPPorts = [ - 3000 # spaceapi - ]; + firewall = { + allowedTCPPorts = [ + 3000 # spaceapi + ]; + allowedUDPPorts = [ + 25826 # spaceapi <- collectd + ]; + }; hostName = "spaceapi"; };