Page 1 of 1

OVPN Service doesn't launch OVPN after Update

Posted: Tue Feb 21, 2023 10:51 am
by mmatx
Hi everyone, I upgraded from OVPN 2.5.2 to OVPN 2.5.9 on my Windows Server. Now OVPN doesn't start anymore. There is also no log file. The event only shows "The service has started", but no diagnostic information. When I start OVPN from the console everything works and I can connect to the server. OVPN does not start via service. Netstat doesn't show a listener at the UDP port 1194 (but it does, if I start OVPN via console). I checked the registry, the values ​​there are all correct.

Is there anything you could recommend, to get some more diagnostic information, what's happening here?

This is my config file.

Code: Select all

port 1194
proto udp
dev tun

ca ca.crt
cert server.crt
key server.key.secure

server 10.8.56.0 255.255.255.0

ifconfig-pool-persist ipp.txt

keepalive 10 120

auth SHA512
tls-version-min   	1.2
tls-cipher 	TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384
dh 	none
ecdh-curve 	secp384r1

persist-key
persist-tun
status openvpn-status.log
verb 3
These are the Registry entries:

Code: Select all

[HKEY_LOCAL_MACHINE\SOFTWARE\OpenVPN]
"disable_save_passwords"=dword:00000000
@="C:\\Program Files\\OpenVPN\\"
"config_dir"="C:\\Program Files\\OpenVPN\\config\\"
"autostart_config_dir"="C:\\Program Files\\OpenVPN\\config-auto\\"
"config_ext"="ovpn"
"exe_path"="C:\\Program Files\\OpenVPN\\bin\\openvpn.exe"
"log_append"="0"
"log_dir"="C:\\Program Files\\OpenVPN\\log\\"
"ovpn_admin_group"="OpenVPN Administrators"
"priority"="NORMAL_PRIORITY_CLASS"
Thanks in advance for any insights.

Re: OVPN Service doesn't launch OVPN after Update

Posted: Sun Apr 02, 2023 8:54 am
by never-stop-learning
Hey man, try to run the program as Administrator( Run as administrator ).
Another option is to uninstall the program, reboot the machine, then download the latest client then install and test it.