open port for syncthing

This commit is contained in:
Yan Lin 2025-12-03 18:12:00 +01:00
parent c011c2f38a
commit 94016234e7

View file

@ -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" ];
};
};