lower metric for zentralwerk
This commit is contained in:
parent
b25d2b44a3
commit
d720f800dc
1 changed files with 3 additions and 0 deletions
|
@ -136,6 +136,7 @@
|
||||||
};
|
};
|
||||||
wireguardConfig = {
|
wireguardConfig = {
|
||||||
PrivateKeyFile = config.sops.secrets."wg/wg-zw-seckey".path;
|
PrivateKeyFile = config.sops.secrets."wg/wg-zw-seckey".path;
|
||||||
|
RouteTable = "off";
|
||||||
};
|
};
|
||||||
wireguardPeers = [
|
wireguardPeers = [
|
||||||
{
|
{
|
||||||
|
@ -164,12 +165,14 @@
|
||||||
routeConfig = {
|
routeConfig = {
|
||||||
Gateway = "172.20.72.4";
|
Gateway = "172.20.72.4";
|
||||||
Destination = "172.20.72.0/21";
|
Destination = "172.20.72.0/21";
|
||||||
|
Metric = 666;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
routeConfig = {
|
routeConfig = {
|
||||||
Gateway = "172.20.72.4";
|
Gateway = "172.20.72.4";
|
||||||
Destination = "172.20.90.0/24";
|
Destination = "172.20.90.0/24";
|
||||||
|
Metric = 666;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Reference in a new issue