further fixes to add_client.sh

This commit is contained in:
Philip (a-0) 2022-07-27 12:10:21 +02:00
parent 0e4fb0ecaa
commit 48dd176d6e

View file

@ -35,9 +35,9 @@ MTU = 1280
DNS = 192.168.2.1 DNS = 192.168.2.1
[Peer] [Peer]
PublicKey = UPnYF3sTTBUlyHz0gyEAL7c1+rFM7G4LOQ4oab2VqAg= PublicKey = {{ wireguard_server_pubkey }}
AllowedIPs = 0.0.0.0/0 AllowedIPs = 0.0.0.0/0
Endpoint = wg.a-0.me:51900 Endpoint = {{ wireguard_server_endpoint }}:51900
PersistentKeepalive = 30 PersistentKeepalive = 30
" > /etc/wireguard/client/wg0.conf " > /etc/wireguard/client/wg0.conf