I'm trying to set up an OpenVPN server on an EC2 instance. There doesn't seem to be any Ubuntu documentation for OpenVPN, so I'm mostly following the instructions here:
https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-14-04
My Android phone reports "connection refused". Tunnelblick says "TLS handshake failed".
I would like to check that OpenVPN actually is listening on my server. But there's no OpenVPN process running – it uses systemd. And it uses UDP rather than TCP, so the usual trick of connecting with telnet doesn't work. Can anyone tell me how I can verify that OpenVPN is actually listening?
The server is running Ubuntu Trusty.
Best Answer
I got OpenVPN working. To answer my question:
There should be a server running like this:
In my case there wasn't due to a misconfiguration. It's fairly obvious, but for the record: to find openvpn problems in the syslog: