From e94c72e42ebf7db4a898773696528d266b183a41 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Mon, 29 Mar 2021 22:26:10 +0200 Subject: [PATCH] Add open ports for quick tests --- modules/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/default.nix b/modules/default.nix index 243e91e..f67a5bc 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -97,6 +97,12 @@ in # wireguard tunnel does not work. networking.firewall.checkReversePath = false; + # Open ports for quick tests + networking.firewall = { + allowedTCPPortRanges = lib.singleton { from = 9990; to = 9999; }; + allowedUDPPortRanges = lib.singleton { from = 9990; to = 9999; }; + }; + nix = { nixPath = [ "/var/src" # pinned nixpkgs and configuration