From d720f800dc28cf3dc8bd8d5e3f1f9900699661c0 Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Fri, 5 Aug 2022 00:19:19 +0200 Subject: [PATCH] lower metric for zentralwerk --- hosts/microwave/network.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/microwave/network.nix b/hosts/microwave/network.nix index bc4f260..5fd1e5d 100644 --- a/hosts/microwave/network.nix +++ b/hosts/microwave/network.nix @@ -136,6 +136,7 @@ }; wireguardConfig = { PrivateKeyFile = config.sops.secrets."wg/wg-zw-seckey".path; + RouteTable = "off"; }; wireguardPeers = [ { @@ -164,12 +165,14 @@ routeConfig = { Gateway = "172.20.72.4"; Destination = "172.20.72.0/21"; + Metric = 666; }; } { routeConfig = { Gateway = "172.20.72.4"; Destination = "172.20.90.0/24"; + Metric = 666; }; } ];