From 5a3b6d80405c3319089104a6b3120094ce6e25ba Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 18 Jan 2023 15:07:24 +0100 Subject: Open syncthing firewall port --- nixos/common.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'nixos') diff --git a/nixos/common.nix b/nixos/common.nix index a840d3b..798fbc0 100644 --- a/nixos/common.nix +++ b/nixos/common.nix @@ -144,8 +144,12 @@ }; # Open ports in the firewall. - # networking.firewall.allowedTCPPorts = [ ... ]; - # networking.firewall.allowedUDPPorts = [ ... ]; + networking.firewall.allowedTCPPorts = [ + 22000 # syncthing + ]; + networking.firewall.allowedUDPPorts = [ + 22000 # syncthing + ]; # Or disable the firewall altogether. # networking.firewall.enable = false; -- cgit v1.2.3