Update openvpn-install.sh

This commit is contained in:
nu11secur1ty 2023-01-17 11:27:14 +02:00 committed by GitHub
parent 2a57e89489
commit e3083b908a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1149,10 +1149,12 @@ function newClient() {
echo "</tls-auth>" echo "</tls-auth>"
;; ;;
esac esac
} >>"$homeDir/$CLIENT.ovpn" # $homeDir
} >>"/etc/openvpn/client/$CLIENT.ovpn"
echo "" echo ""
echo "The configuration file has been written to $homeDir/$CLIENT.ovpn." # $homeDir
echo "The configuration file has been written to /etc/openvpn/client/$CLIENT.ovpn."
echo "Download the .ovpn file and import it in your OpenVPN client." echo "Download the .ovpn file and import it in your OpenVPN client."
exit 0 exit 0