From 94016234e74c8d11797db52b16c46906b973a19f Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Wed, 3 Dec 2025 18:12:00 +0100 Subject: [PATCH] open port for syncthing --- hosts/nixos/vps/system.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hosts/nixos/vps/system.nix b/hosts/nixos/vps/system.nix index 70cbf10..7b77986 100644 --- a/hosts/nixos/vps/system.nix +++ b/hosts/nixos/vps/system.nix @@ -42,7 +42,8 @@ useDHCP = true; # VPS typically use DHCP firewall = { enable = true; - allowedTCPPorts = [ 22 80 443 ]; # SSH, HTTP, HTTPS + allowedTCPPorts = [ 22 80 443 22000 ]; + allowedUDPPorts = [ 22000 ]; trustedInterfaces = [ "tailscale0" ]; }; };