diff options
author | Shagon94 <Shagon94@gmail.com> | 2019-05-17 10:57:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-17 10:57:53 +0200 |
commit | 63092adfd4810937b7dcb71a08e7274d812d092b (patch) | |
tree | 1e8761786cb78bf7e2517cb604131df1a1dfee26 /wireguard-install.sh | |
parent | b70cba9f7335fcbb9b19779540f448571a4223a8 (diff) |
fixed client ips
Diffstat (limited to 'wireguard-install.sh')
-rw-r--r-- | wireguard-install.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wireguard-install.sh b/wireguard-install.sh index c67ebce..3429658 100644 --- a/wireguard-install.sh +++ b/wireguard-install.sh @@ -112,7 +112,7 @@ AllowedIPs = $CLIENT_WG_IPV4/32,$CLIENT_WG_IPV6/128" >> "/etc/wireguard/$SERVER_ # Create client file with interface echo "[Interface] PrivateKey = $CLIENT_PRIV_KEY -Address = $CLIENT_WG_IPV4/24,$CLIENT_WG_IPV4/64 +Address = $CLIENT_WG_IPV4/24,$CLIENT_WG_IPV6/64 DNS = $CLIENT_DNS_1,$CLIENT_DNS_2" > "$HOME/$SERVER_WG_NIC-client.conf" # Add the server as a peer to the client |