diff --git a/hosts/vno1-oh2/configuration.nix b/hosts/vno1-oh2/configuration.nix index a1d9bb2..5d8f3f3 100644 --- a/hosts/vno1-oh2/configuration.nix +++ b/hosts/vno1-oh2/configuration.nix @@ -562,6 +562,11 @@ inotify = "yes"; }; }; + + syncthing.relay = { + enable = true; + providedBy = "11sync.net"; + }; }; systemd.services = { @@ -702,7 +707,13 @@ ]; firewall = { allowedUDPPorts = [53 80 443]; - allowedTCPPorts = [53 80 443]; + allowedTCPPorts = [ + 53 + 80 + 443 + config.services.syncthing.relay.port + config.services.syncthing.relay.statusPort + ]; rejectPackets = true; }; };