syncthing: forgot about UDP protocol
This commit is contained in:
@@ -43,7 +43,10 @@
|
|||||||
# Open firewall ports for syncthing protocol
|
# Open firewall ports for syncthing protocol
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
allowedTCPPorts = [ service_configs.ports.syncthing_protocol ];
|
allowedTCPPorts = [ service_configs.ports.syncthing_protocol ];
|
||||||
allowedUDPPorts = [ service_configs.ports.syncthing_discovery ];
|
allowedUDPPorts = [
|
||||||
|
service_configs.ports.syncthing_discovery
|
||||||
|
service_configs.ports.syncthing_protocol
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.caddy.virtualHosts."syncthing.${service_configs.https.domain}".extraConfig = ''
|
services.caddy.virtualHosts."syncthing.${service_configs.https.domain}".extraConfig = ''
|
||||||
|
|||||||
Reference in New Issue
Block a user