diff options
| author | Grigory Shipunov | 2022-08-05 00:19:19 +0200 |
|---|---|---|
| committer | Grigory Shipunov | 2022-08-05 00:19:19 +0200 |
| commit | d720f800dc28cf3dc8bd8d5e3f1f9900699661c0 (patch) | |
| tree | 1f97242b953b902e0e199eb9381142b1bf78498a /hosts/microwave/network.nix | |
| parent | b25d2b44a3109e67f4558a9239eccd445335c121 (diff) | |
lower metric for zentralwerk
Diffstat (limited to 'hosts/microwave/network.nix')
| -rw-r--r-- | hosts/microwave/network.nix | 3 |
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; }; } ]; |
