From 48dd176d6ecc2db2539beae3065df124e54cf516 Mon Sep 17 00:00:00 2001 From: "Philip (a-0)" <@ph:a-0.me> Date: Wed, 27 Jul 2022 12:10:21 +0200 Subject: [PATCH] further fixes to add_client.sh --- templates/add_client.sh.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/add_client.sh.j2 b/templates/add_client.sh.j2 index 906bc7a..afd5963 100644 --- a/templates/add_client.sh.j2 +++ b/templates/add_client.sh.j2 @@ -35,9 +35,9 @@ MTU = 1280 DNS = 192.168.2.1 [Peer] -PublicKey = UPnYF3sTTBUlyHz0gyEAL7c1+rFM7G4LOQ4oab2VqAg= +PublicKey = {{ wireguard_server_pubkey }} AllowedIPs = 0.0.0.0/0 -Endpoint = wg.a-0.me:51900 +Endpoint = {{ wireguard_server_endpoint }}:51900 PersistentKeepalive = 30 " > /etc/wireguard/client/wg0.conf