Revert "disable firewall for test"

This reverts commit 40d4d56d47.
This commit is contained in:
陈浩南 2023-09-13 09:56:14 +08:00
parent 40d4d56d47
commit f1d1da63c8

View File

@ -46,8 +46,7 @@ inputs:
};
secrets."nebula/key" = {};
};
networking.firewall.enable = false;
# networking.firewall = { trustedInterfaces = [ "nebula.nebula" ]; }
# // (if nebula.lighthouse != null then {} else { allowedTCPPorts = [ 4242 ]; allowedUDPPorts = [ 4242 ]; });
networking.firewall = { trustedInterfaces = [ "nebula.nebula" ]; }
// (if nebula.lighthouse != null then {} else { allowedTCPPorts = [ 4242 ]; allowedUDPPorts = [ 4242 ]; });
};
}