From e1c7dc5efc9e2081133479313866ac33421f4edc Mon Sep 17 00:00:00 2001 From: tuckyapps Date: Sat, 7 Sep 2019 12:21:23 +0200 Subject: [PATCH] Updated to Match latest configurations on server. --- openvpn-install.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 6e88299..cb35b03 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -1,7 +1,7 @@ #!/bin/bash # Secure OpenVPN server installer for Debian, Ubuntu, CentOS, Fedora and Arch Linux -# https://github.com/angristan/openvpn-install +# https://github.com/tuckyapps/openvpn-install function isRoot () { if [ "$EUID" -ne 0 ]; then @@ -186,7 +186,7 @@ private-address: ::ffff:0:0/96' > /etc/unbound/openvpn.conf function installQuestions () { echo "Welcome to the OpenVPN installer!" - echo "The git repository is available at: https://github.com/angristan/openvpn-install" + echo "The git repository is available at: https://github.com/tuckyapps/openvpn-install" echo "" echo "I need to ask you a few questions before starting the setup." @@ -229,7 +229,6 @@ function installQuestions () { until [[ $IPV6_SUPPORT =~ (y|n) ]]; do read -rp "Do you want to enable IPv6 support (NAT)? [y/n]: " -e -i $SUGGESTION IPV6_SUPPORT done - echo "" # Ask the user for its public IPv6 address. if [[ "$IPV6_SUPPORT" = 'y' ]]; then @@ -341,7 +340,7 @@ function installQuestions () { echo "Do you want to customize encryption settings?" echo "Unless you know what you're doing, you should stick with the default parameters provided by the script." echo "Note that whatever you choose, all the choices presented in the script are safe. (Unlike OpenVPN's defaults)" - echo "See https://github.com/angristan/openvpn-install#security-and-encryption to learn more." + echo "See https://github.com/tuckyapps/openvpn-install#security-and-encryption to learn more." echo "" until [[ $CUSTOMIZE_ENC =~ (y|n) ]]; do read -rp "Customize encryption settings? [y/n]: " -e -i n CUSTOMIZE_ENC @@ -970,7 +969,7 @@ function newClient () { echo " 2) Use a password for the client" until [[ "$PASS" =~ ^[1-2]$ ]]; do - read -rp "Select an option [1-2]: " -e -i 1 PASS + read -rp "Select an option [1-2]: " -e -i 2 PASS done cd /etc/openvpn/easy-rsa/ || return @@ -1185,7 +1184,7 @@ function removeOpenVPN () { function manageMenu () { clear echo "Welcome to OpenVPN-install!" - echo "The git repository is available at: https://github.com/angristan/openvpn-install" + echo "The git repository is available at: https://github.com/tuckyapps/openvpn-install" echo "" echo "It looks like OpenVPN is already installed." echo ""