[syncthing] More relay config
This commit is contained in:
@@ -115,6 +115,7 @@
|
||||
# So I don't have to use public relays
|
||||
services.syncthing.relay = {
|
||||
enable = true;
|
||||
# Leave this empty, meaning it won't join any public pools.
|
||||
pools = [ ];
|
||||
};
|
||||
|
||||
@@ -122,6 +123,7 @@
|
||||
# Open ports in the firewall.
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
22067 # Syncthing relay
|
||||
22070 # Syncthing relay status
|
||||
];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
|
||||
Reference in New Issue
Block a user