Fic syncthing firewall

This commit is contained in:
outfoxxed 2023-06-26 22:16:05 -07:00
parent a02c07428f
commit f7da38b9e4
Signed by: outfoxxed
GPG key ID: 4C88A185FB89301E

View file

@ -49,6 +49,19 @@
}; };
}; };
networking.firewall = {
allowedTCPPorts = [
# syncthing TCP
22000
];
allowedUDPPorts = [
# syncthing QUIC
22000
# syncthing discovery
21027
];
};
home-manager.users.${config.main-user} = homeInputs: let home-manager.users.${config.main-user} = homeInputs: let
homeConfig = homeInputs.config; homeConfig = homeInputs.config;
in { in {