diff options
-rw-r--r-- | share/provision/files/ipredator/etc/openvpn/ipredator.conf (renamed from share/provision/files/ipredator/etc/openvpn/IPredator-CLI-Password.conf) | 3 | ||||
-rwxr-xr-x | share/provision/ipredator | 16 |
2 files changed, 10 insertions, 9 deletions
diff --git a/share/provision/files/ipredator/etc/openvpn/IPredator-CLI-Password.conf b/share/provision/files/ipredator/etc/openvpn/ipredator.conf index 210cbdc..439f31b 100644 --- a/share/provision/files/ipredator/etc/openvpn/IPredator-CLI-Password.conf +++ b/share/provision/files/ipredator/etc/openvpn/ipredator.conf @@ -8,7 +8,8 @@ remote pw.openvpn.ipredator.es 1194 resolv-retry infinite nobind -auth-user-pass /etc/openvpn/IPredator.auth +#auth-user-pass /etc/openvpn/IPredator.auth +auth-user-pass /etc/openvpn/ipredator.auth auth-retry nointeract ca [inline] diff --git a/share/provision/ipredator b/share/provision/ipredator index e8bba69..8ceb348 100755 --- a/share/provision/ipredator +++ b/share/provision/ipredator @@ -29,12 +29,12 @@ APT_INSTALL="sudo LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y" # Provision the basic stuff $DIRNAME/vpn $HOSTNAME $DOMAIN $MIRROR -# IPredator +# ipredator # See https://www.ipredator.se/guide/openvpn/debian/native -sudo cp $DIRNAME/files/ipredator/etc/openvpn/IPredator-CLI-Password.conf /etc/openvpn -sudo touch /etc/openvpn/IPredator.auth -sudo chown root:root /etc/openvpn/IPredator-CLI-Password.conf -sudo chown root:root /etc/openvpn/IPredator.auth -sudo chmod 400 /etc/openvpn/IPredator-CLI-Password.conf -sudo chmod 400 /etc/openvpn/IPredator.auth -echo "Please set user/password at /etc/openvpn/IPredator.auth" +sudo cp $DIRNAME/files/ipredator/etc/openvpn/ipredator.conf /etc/openvpn +sudo touch /etc/openvpn/ipredator.auth +sudo chown root:root /etc/openvpn/ipredator.conf +sudo chown root:root /etc/openvpn/ipredator.auth +sudo chmod 400 /etc/openvpn/ipredator.conf +sudo chmod 400 /etc/openvpn/ipredator.auth +echo "Please set user/password at /etc/openvpn/ipredator.auth" |