From a9aeb6a12f47d4121a5bf6e672efb8a9893c13a3 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 16 Dec 2021 09:57:40 +0100 Subject: yggdrasil-wg: ... --- modules/yggdrasil-wg/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/yggdrasil-wg/default.nix b/modules/yggdrasil-wg/default.nix index 4b93da57..67d73b70 100644 --- a/modules/yggdrasil-wg/default.nix +++ b/modules/yggdrasil-wg/default.nix @@ -203,7 +203,7 @@ in { Destination = "${batSubnet}::/${toString batSubnetLength}"; }; } - ] ++ (concatMap (router: map (rAddr: { routeConfig = { Destination = "::/0"; Metric = 1; Gateway = stripSubnet rAddr; }; }) batHostIPs.${router}) routers); + ] ++ (concatMap (router: map (rAddr: { routeConfig = { Destination = "::/0"; Metric = 2048; Gateway = stripSubnet rAddr; }; }) batHostIPs.${router}) routers); linkConfig = { MACAddress = "${batHostMACs.${hostName}}"; RequiredForOnline = false; -- cgit v1.2.3