1
0
Fork 0
mirror of https://github.com/angristan/wireguard-install.git synced 2025-04-09 04:02:03 +00:00

Update wireguard-install.sh

This commit is contained in:
liberodark 2019-12-17 22:34:12 +01:00 committed by GitHub
parent ae13aaf796
commit ac4767a2e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -127,7 +127,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)