summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrigory Shipunov2022-08-05 00:19:19 +0200
committerGrigory Shipunov2022-08-05 00:19:19 +0200
commitd720f800dc28cf3dc8bd8d5e3f1f9900699661c0 (patch)
tree1f97242b953b902e0e199eb9381142b1bf78498a
parentb25d2b44a3109e67f4558a9239eccd445335c121 (diff)
lower metric for zentralwerk
-rw-r--r--hosts/microwave/network.nix3
1 files changed, 3 insertions, 0 deletions
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;
};
}
];