1
0
Fork 0
mirror of https://github.com/Nyr/openvpn-install.git synced 2025-04-05 13:43:30 +03:00
This commit is contained in:
David Bailey 2017-01-29 19:38:52 +00:00 committed by GitHub
commit 0cabf5dc18

View file

@ -82,8 +82,10 @@ if [[ -e /etc/openvpn/server.conf ]]; then
1)
echo ""
echo "Tell me a name for the client cert"
echo "Please, use one word only, no special characters"
read -p "Client name: " -e -i client CLIENT
while [[ "$CLIENT" =~ ' ' || "$CLIENT" == '' ]]; do
echo "Please, use one word only, no special characters"
read -p "Client name: " -e -i client CLIENT
done
cd /etc/openvpn/easy-rsa/
./easyrsa build-client-full $CLIENT nopass
# Generates the custom client.ovpn