aboutsummaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-11-19 11:18:23 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-11-19 11:18:23 -0200
commite3696e22cb6d450919c9e9dbff34fa9a040869db (patch)
tree2d2ae902b4002e98ec19042506f416d4dcde8850 /share
parent1d5741c1b3e13a6a47848d4693efeda1a74dd3ab (diff)
downloadkvmx-e3696e22cb6d450919c9e9dbff34fa9a040869db.tar.gz
kvmx-e3696e22cb6d450919c9e9dbff34fa9a040869db.tar.bz2
Provision: updates ipredator profile
Diffstat (limited to 'share')
-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-xshare/provision/ipredator16
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"