[syncthing] Sets up relay on MCP
This commit is contained in:
@@ -111,9 +111,18 @@
|
||||
};
|
||||
};
|
||||
|
||||
### Syncthing relay
|
||||
# So I don't have to use public relays
|
||||
services.syncthing.relay = {
|
||||
enable = true;
|
||||
pools = [ ];
|
||||
};
|
||||
|
||||
### Firewall
|
||||
# Open ports in the firewall.
|
||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
22067 # Syncthing relay
|
||||
];
|
||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||
# Or disable the firewall altogether.
|
||||
# networking.firewall.enable = false;
|
||||
|
||||
Reference in New Issue
Block a user