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
1 changed files with 13 additions and 0 deletions

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
homeConfig = homeInputs.config;
in {