diff --git a/wireguard-manager.sh b/wireguard-manager.sh index dc802b6..f3c0507 100755 --- a/wireguard-manager.sh +++ b/wireguard-manager.sh @@ -1624,7 +1624,7 @@ MTU = ${MTU_CHOICE} PrivateKey = ${CLIENT_PRIVKEY} [Peer] AllowedIPs = ${CLIENT_ALLOWED_IP} -Endpoint = ${SERVER_HOST}${SERVER_PORT} +Endpoint = ${SERVER_HOST} PersistentKeepalive = ${NAT_CHOICE} PresharedKey = ${PRESHARED_KEY} PublicKey = ${SERVER_PUBKEY}" >>${WIREGUARD_CLIENT_PATH}/"${NEW_CLIENT_NAME}"-${WIREGUARD_PUB_NIC}.conf