loki: Update wireguard config to new config format

This commit is contained in:
Erwin Boskma 2024-06-04 09:42:34 +02:00
parent 612c68728a
commit 5bf48d0618
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk

View file

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