From aa1ea04d2449257ecbd7cd3f1101c07873135e8d Mon Sep 17 00:00:00 2001 From: preterive <31483348+preterive@users.noreply.github.com> Date: Fri, 6 Jul 2018 18:22:25 +0200 Subject: [PATCH] Update openvpn-install.sh --- openvpn-install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index e74d854..015c045 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -466,12 +466,12 @@ WantedBy=multi-user.target" > /etc/systemd/system/iptables.service rm -rf /etc/openvpn/easy-rsa/ fi # Get easy-rsa - wget -O ~/EasyRSA-3.0.4.tgz https://github.com/OpenVPN/easy-rsa/releases/download/v3.0.4/EasyRSA-3.0.4.tgz - tar xzf ~/EasyRSA-3.0.4.tgz -C ~/ - mv ~/EasyRSA-3.0.4/ /etc/openvpn/ - mv /etc/openvpn/EasyRSA-3.0.4/ /etc/openvpn/easy-rsa/ + wget -O ~/EasyRSA-3.0.5.tgz https://github.com/OpenVPN/easy-rsa/releases/download/v3.0.5/EasyRSA-3.0.5.tgz + tar xzf ~/EasyRSA-3.0.5.tgz -C ~/ + mv ~/EasyRSA-3.0.5/ /etc/openvpn/ + mv /etc/openvpn/EasyRSA-3.0.5/ /etc/openvpn/easy-rsa/ chown -R root:root /etc/openvpn/easy-rsa/ - rm -f ~/EasyRSA-3.0.4.tgz + rm -f ~/EasyRSA-3.0.5.tgz cd /etc/openvpn/easy-rsa/ # Generate a random, alphanumeric identifier of 16 characters for CN and one for server name SERVER_CN="cn_$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1)"