mirror of
https://github.com/CHN-beta/nixos.git
synced 2026-01-12 06:29:23 +08:00
disable firewall for test
This commit is contained in:
@@ -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 ]; });
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user