Compare commits

...

1 Commits

Author SHA1 Message Date
chn
dae16ce6d8 disable firewall for test 2023-09-13 09:42:35 +08:00

View File

@@ -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 ]; });
};
}