loki: Update wireguard config to new config format
This commit is contained in:
parent
612c68728a
commit
5bf48d0618
1 changed files with 9 additions and 11 deletions
|
@ -256,17 +256,15 @@
|
||||||
|
|
||||||
wireguardPeers = [
|
wireguardPeers = [
|
||||||
{
|
{
|
||||||
wireguardPeerConfig = {
|
PublicKey = "6faxlUG8+F7uVrKk/OJqqy5k2+OzrhXc/cV6Zsfbl0c=";
|
||||||
PublicKey = "6faxlUG8+F7uVrKk/OJqqy5k2+OzrhXc/cV6Zsfbl0c=";
|
AllowedIPs = [
|
||||||
AllowedIPs = [
|
"192.168.4.0/23"
|
||||||
"192.168.4.0/23"
|
"192.168.6.0/24"
|
||||||
"192.168.6.0/24"
|
"192.168.7.0/24"
|
||||||
"192.168.7.0/24"
|
"192.168.8.0/24"
|
||||||
"192.168.8.0/24"
|
];
|
||||||
];
|
Endpoint = "212.45.34.195:51820";
|
||||||
Endpoint = "212.45.34.195:51820";
|
PersistentKeepalive = 25;
|
||||||
PersistentKeepalive = 25;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue