From f5cbfda5d16ca185ea855f2e0c1a250da42af134 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Mon, 5 Jun 2023 19:54:05 +0200 Subject: [PATCH] Open proxy protocol, node-exporter ports --- config/default.nix | 6 ++++++ modules/stats.nix | 2 ++ 2 files changed, 8 insertions(+) diff --git a/config/default.nix b/config/default.nix index 11f8c449..a97ab685 100644 --- a/config/default.nix +++ b/config/default.nix @@ -85,6 +85,12 @@ ]; }; + networking.firewall.allowedTCPPorts = lib.mkIf config.services.nginx.enable [ + # proxy protocol used by public-access-proxy + 8080 + 8443 + ]; + nix = { deleteChannels = true; deleteUserProfiles = true; diff --git a/modules/stats.nix b/modules/stats.nix index 374245a2..234c2abb 100644 --- a/modules/stats.nix +++ b/modules/stats.nix @@ -14,6 +14,8 @@ in }; config = { + networking.firewall.allowedTCPPorts = [ 9100 ]; + services = lib.mkMerge [ (let nginxStatusPort = 9100;