[syncthing] Sets up relay on MCP

This commit is contained in:
2025-03-31 10:53:18 -07:00
parent 000cb8b614
commit 8f5b01498e
2 changed files with 17 additions and 2 deletions

View File

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