Updated to Match latest configurations on server.

This commit is contained in:
tuckyapps 2019-09-07 12:21:23 +02:00 committed by GitHub
parent fe2554a241
commit e1c7dc5efc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ""