diff --git a/configuration.nix b/configuration.nix index 827fb30..167b62a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -129,6 +129,15 @@ # services.openssh.enable = true; # Open ports in the firewall. + networking.firewall = { + allowedTCPPortRanges = [ + { from = 1714; to = 1764; } + ]; + + allowedUDPPortRanges = [ + { from = 1714; to = 1764; } + ]; + }; # networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ]; # Or disable the firewall altogether.