Fic syncthing firewall
This commit is contained in:
parent
a02c07428f
commit
f7da38b9e4
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue