diff --git a/openvpn-install.sh b/openvpn-install.sh index f49a3d9..4b53b63 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -660,6 +660,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