Hi there,
I've installed OpenVPN on a RasPi and it works fine.
If I start the service via
sudo service openvpn start
everything's working as expected.
If i reboot my RasPi, OpenVPN should start automatically.
Therefore I've uncommented
AUTOSTART="all"
in /etc/default/openvpn.
If I check the server status at boot, everything looks fine:
openvpn.service - OpenVPN service
Loaded: loaded (/lib/systemd/system/openvpn.service; enabled; vendor preset:
Active: active (exited) since Tue 2017-08-29 06:50:39 UTC; 2min 51s ago
Process: 496 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 496 (code=exited, status=0/SUCCESS)
CGroup: /system.slice/openvpn.service
But if I try to connect from my client, I just receive this message:
read UDP: Connection reset by peer (WSAECONNRESET) (code=10054)
I need to run command
sudo service openvpn start
and afterwards I'm able to connect.
What could be the reason for this strange behavior?
The weird thing is that I receive the same status information as before.
Best regards,
Eddie.