From 07de8b9feb3645f8d2ee828205e8389790b3df02 Mon Sep 17 00:00:00 2001 From: Angristan Date: Mon, 25 Sep 2017 17:10:06 +0200 Subject: [PATCH] Update openvpn-install.sh --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 21d10b1..4bd0e58 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -598,7 +598,7 @@ set_var EASYRSA_CURVE $CERT_CURVE" > vars chmod 644 /etc/openvpn/crl.pem # Generate server.conf - echo "port $PORT" >> /etc/openvpn/server.conf + echo "port $PORT" > /etc/openvpn/server.conf if [[ "$PROTOCOL" = '1' ]]; then echo "proto udp" >> /etc/openvpn/server.conf elif [[ "$PROTOCOL" = '2' ]]; then