add syncthing-relay
This commit is contained in:
parent
e61063aee3
commit
f8d9f95ff0
@ -562,6 +562,11 @@
|
|||||||
inotify = "yes";
|
inotify = "yes";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
syncthing.relay = {
|
||||||
|
enable = true;
|
||||||
|
providedBy = "11sync.net";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services = {
|
systemd.services = {
|
||||||
@ -702,7 +707,13 @@
|
|||||||
];
|
];
|
||||||
firewall = {
|
firewall = {
|
||||||
allowedUDPPorts = [53 80 443];
|
allowedUDPPorts = [53 80 443];
|
||||||
allowedTCPPorts = [53 80 443];
|
allowedTCPPorts = [
|
||||||
|
53
|
||||||
|
80
|
||||||
|
443
|
||||||
|
config.services.syncthing.relay.port
|
||||||
|
config.services.syncthing.relay.statusPort
|
||||||
|
];
|
||||||
rejectPackets = true;
|
rejectPackets = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user