1
0
mirror of https://github.com/Nyr/openvpn-install.git synced 2024-11-23 21:46:08 +03:00

Update openvpn-install.sh

This commit is contained in:
Kcchouette 2018-05-03 11:03:15 +02:00 committed by GitHub
parent d717353769
commit 269551c25f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -362,7 +362,7 @@ exit 0' > $RCLOCAL
chkconfig openvpn on chkconfig openvpn on
fi fi
fi fi
# If the serrver is behind a NAT, use the correct IP address # If the server is behind a NAT, use the correct IP address
if [[ "$PUBLICIP" != "" ]]; then if [[ "$PUBLICIP" != "" ]]; then
IP=$PUBLICIP IP=$PUBLICIP
fi fi
@ -391,4 +391,4 @@ verb 3" > /etc/openvpn/client-common.txt
echo echo
echo "Your client configuration is available at:" ~/"$CLIENT.ovpn" echo "Your client configuration is available at:" ~/"$CLIENT.ovpn"
echo "If you want to add more clients, you simply need to run this script again!" echo "If you want to add more clients, you simply need to run this script again!"
fi fi