OVPN Service doesn't launch OVPN after Update

This forum is for admins who are looking to build or expand their OpenVPN setup.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
mmatx
OpenVpn Newbie
Posts: 1
Joined: Tue Feb 21, 2023 10:37 am

OVPN Service doesn't launch OVPN after Update

Post by mmatx » Tue Feb 21, 2023 10:51 am

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.

never-stop-learning
OpenVPN User
Posts: 39
Joined: Sat Oct 02, 2021 3:57 pm

Re: OVPN Service doesn't launch OVPN after Update

Post by never-stop-learning » Sun Apr 02, 2023 8:54 am

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.

Post Reply