Update wireguard-install.sh

This commit is contained in:
liberodark 2019-12-17 18:07:48 +01:00 committed by GitHub
parent b902889ad3
commit 382e04329c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -111,7 +111,7 @@ mkdir /etc/wireguard > /dev/null 2>&1
SERVER_PRIV_KEY=$(wg genkey)
SERVER_PUB_KEY=$(echo "$SERVER_PRIV_KEY" | wg pubkey)
# Generate key pair for the server
# Generate key pair for the client
CLIENT_PRIV_KEY=$(wg genkey)
CLIENT_PUB_KEY=$(echo "$CLIENT_PRIV_KEY" | wg pubkey)