Open ports for syncthing

This commit is contained in:
Emmet 2024-07-15 10:42:20 -05:00
parent 464b511f23
commit b6f621c964

View file

@ -4,8 +4,8 @@
# Firewall
networking.firewall.enable = true;
# Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ];
networking.firewall.allowedTCPPorts = [ 22000 21027 ]; # syncthing
networking.firewall.allowedUDPPorts = [ 22000 21027 ]; # syncthing
# Or disable the firewall altogether.
# networking.firewall.enable = false;
}