From fecb1956f20181e3a8c894552ee77efa1759f688 Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 11 Nov 2019 03:29:00 +0100 Subject: [PATCH] Refactor firewall configuration with comments --- modules/networking.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/networking.nix b/modules/networking.nix index 5538229..4854d64 100644 --- a/modules/networking.nix +++ b/modules/networking.nix @@ -16,7 +16,14 @@ # Firewall configuration networking.firewall = { - allowedTCPPorts = [ 631 6566 22067 8384 80 443 ]; + allowedTCPPorts = [ + 631 # Cups + 6566 # SANE + 22067 # Syncthing relay + 8384 # Syncthing GUI + 80 + 443 + ]; autoLoadConntrackHelpers = true; connectionTrackingModules = [ "sane" ]; };