I have followed the instructions in https://openwrt.org/docs/guide-user/services/vpn/openvpn/basic but I can't connect to the VPN. It even took more fiddling than should have been necessary just to get the LuCI app to recognise the created
server.conf file, since it was:
a) expecting a
server.ovpn file and
b) not picking up the file from the
/etc/openvpn directory, even after fixing a).
The solution to a) was to simply rename the file, which seemingly worked (eventually), but I had to manually upload it through the LuCI interface to get that app to recognise it as a valid config file (that was the solution to b)).
Even after doing all of that, I had to manually reboot the router to be able to start the OpenVPN service, since it was complaining about a
resource busy error (i.e. the server was already running under another process, even though the LuCI app couldn't see that).
I now have both a server and client process running on the router (is the latter necessary?? It would seem as though that belongs on my PC, but the instructions have me very confused) and that prevents my internet from working at all...but I presume that is because I'm not connected to the VPN! Please correct me if I'm wrong.
In summary, I have followed all of the "official" instructions to the letter, and have tried using both Pritunl and OpenVPN's official client apps for Windows with the generated
client.ovpn file, but I still can't connect. What gives??
The Pritunl client app times out after 60 seconds, as does the OpenVPN app, but at least the latter gives me a reason why:
TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity) TLS Error: TLS handshake failed
MTIA for any advice on this rather confusing and frustrating situation