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