[Resolved] Windows 10 - openvpn service does not start, no errors, no log
Posted: Thu Apr 25, 2019 10:18 am
Hi,
long story made short: my freshly-installed OpenVPN server 2.4.7 on Windows 10 (latest updates applied) refuses to start as a service. The same damn thing is however perfectly fine if started from the OpenVPN GUI, and this is really bothering me.
What I have done so far:
thanks in advance
long story made short: my freshly-installed OpenVPN server 2.4.7 on Windows 10 (latest updates applied) refuses to start as a service. The same damn thing is however perfectly fine if started from the OpenVPN GUI, and this is really bothering me.
What I have done so far:
- started from a Win10 clean installation
- applied latest Win10 updates
- installed OpenVPN 2.4.7
- migrated my config from the previous installation, which was working just fine.
- started the VPN server from cmd --> OK, no apparent errors in logs, client is able to connect
- started the VPN server from GUI --> OK, no apparent errors in logs, client is able to connect
- started the VPN server from services.msc --> FAIL, apparently the service openvpnserv2.exe starts, but it doesn't spawn the openvpn.exe process. No logs are generated and no errors in the windows event log.
- tried to disable windows defender, but to no avail.
thanks in advance
Code: Select all
port 1194
proto udp
dev tun
askpass password.txt
ca ca.crt
cert glacier.crt
key glacier.key # This file should be kept secret
dh dh2048.pem
server 172.16.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
client-to-client
keepalive 10 120
comp-lzo
persist-key
persist-tun
status openvpn-status.log
log-append server.log
verb 3