From 45cdd53f0de295ae77c53c9c0aa5ddded08302c2 Mon Sep 17 00:00:00 2001 From: Menno van Leeuwen Date: Sat, 16 Nov 2024 01:39:43 +0100 Subject: [PATCH] refactor allowedTCPPorts configuration for internal services --- config/nixos/common/server.nix | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/config/nixos/common/server.nix b/config/nixos/common/server.nix index cf03f9e..5618999 100644 --- a/config/nixos/common/server.nix +++ b/config/nixos/common/server.nix @@ -26,21 +26,15 @@ 22 # Git over SSH 32400 # Plex + + # Interal services + 81 # Nginx Proxy Manager + 7788 # Sabnzbd + 8085 # Qbittorrent + 3030 # Gitea ]; allowedUDPPorts = [ 51820 # WireGuard ]; - - # Allow local network access only - interfaces = { - "docker0" = { - allowedTCPPorts = [ - 7788 # Sabnzbd - 8085 # Qbittorrent - 81 # Nginx Proxy Manager - 3030 # Gitea - ]; - }; - }; }; }