add syncthing-relay

This commit is contained in:
Motiejus Jakštys 2024-01-25 12:15:59 +02:00
parent e61063aee3
commit f8d9f95ff0
1 changed files with 12 additions and 1 deletions

View File

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