From b6f621c964e15e351bf76d094ba038f88d0dc3b7 Mon Sep 17 00:00:00 2001 From: Emmet Date: Mon, 15 Jul 2024 10:42:20 -0500 Subject: [PATCH] Open ports for syncthing --- system/security/firewall.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system/security/firewall.nix b/system/security/firewall.nix index 60d339a..ff582da 100644 --- a/system/security/firewall.nix +++ b/system/security/firewall.nix @@ -4,8 +4,8 @@ # Firewall networking.firewall.enable = true; # Open ports in the firewall. - # networking.firewall.allowedTCPPorts = [ ... ]; - # networking.firewall.allowedUDPPorts = [ ... ]; + networking.firewall.allowedTCPPorts = [ 22000 21027 ]; # syncthing + networking.firewall.allowedUDPPorts = [ 22000 21027 ]; # syncthing # Or disable the firewall altogether. # networking.firewall.enable = false; }