lower metric for zentralwerk

This commit is contained in:
Grigory Shipunov 2022-08-05 00:19:19 +02:00
parent b25d2b44a3
commit d720f800dc
Signed by: 0xa
GPG key ID: 91FA5E5BF9AA901C

View file

@ -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;
};
}
];