From 974a0328fc0b545f80827805b171695e698102d5 Mon Sep 17 00:00:00 2001 From: Menno van Leeuwen Date: Sat, 16 Nov 2024 01:36:46 +0100 Subject: [PATCH] refactor allowedTCPPorts configuration for docker0 interface --- config/nixos/common/server.nix | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/config/nixos/common/server.nix b/config/nixos/common/server.nix index 9814794..cf03f9e 100644 --- a/config/nixos/common/server.nix +++ b/config/nixos/common/server.nix @@ -30,17 +30,17 @@ allowedUDPPorts = [ 51820 # WireGuard ]; - }; - # Allow local network access only - interfaces = { - "docker0" = { - allowedTCPPorts = [ - 7788 # Sabnzbd - 8085 # Qbittorrent - 81 # Nginx Proxy Manager - 3030 # Gitea - ]; + # Allow local network access only + interfaces = { + "docker0" = { + allowedTCPPorts = [ + 7788 # Sabnzbd + 8085 # Qbittorrent + 81 # Nginx Proxy Manager + 3030 # Gitea + ]; + }; }; }; }