diff --git a/openvpn-install.sh b/openvpn-install.sh index cf2d6e7..3b13e46 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -666,6 +666,7 @@ function installOpenVPN () { chmod 644 /etc/openvpn/crl.pem # Generate server.conf + echo "local $IP" >> /etc/openvpn/server.conf echo "port $PORT" > /etc/openvpn/server.conf if [[ "$IPV6_SUPPORT" = 'n' ]]; then echo "proto $PROTOCOL" >> /etc/openvpn/server.conf