spaceapi: allow collectd stats in firewall

they're used in spaceapi as sensors
This commit is contained in:
Astro 2023-09-05 23:27:30 +02:00
parent 9a9fb79f7f
commit 9a03bc1270
1 changed files with 8 additions and 3 deletions

View File

@ -4,9 +4,14 @@ _:
c3d2.deployment.server = "server10"; c3d2.deployment.server = "server10";
networking = { networking = {
firewall.allowedTCPPorts = [ firewall = {
3000 # spaceapi allowedTCPPorts = [
]; 3000 # spaceapi
];
allowedUDPPorts = [
25826 # spaceapi <- collectd
];
};
hostName = "spaceapi"; hostName = "spaceapi";
}; };