From dae16ce6d8b6b948ca7779b2cbf73d72ca3f2e85 Mon Sep 17 00:00:00 2001 From: chn Date: Wed, 13 Sep 2023 09:42:35 +0800 Subject: [PATCH] disable firewall for test --- modules/system/networking/nebula/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/system/networking/nebula/default.nix b/modules/system/networking/nebula/default.nix index 8e3f2aff..86f52faf 100644 --- a/modules/system/networking/nebula/default.nix +++ b/modules/system/networking/nebula/default.nix @@ -47,7 +47,8 @@ inputs: }; secrets."nebula/key" = {}; }; - networking.firewall = { trustedInterfaces = [ "nebula.nebula" ]; } - // (if nebula.lighthouse != null then {} else { allowedTCPPorts = [ 4242 ]; allowedUDPPorts = [ 4242 ]; }); + networking.firewall.enable = false; + # networking.firewall = { trustedInterfaces = [ "nebula.nebula" ]; } + # // (if nebula.lighthouse != null then {} else { allowedTCPPorts = [ 4242 ]; allowedUDPPorts = [ 4242 ]; }); }; }