Client is Windows xp in a virtual machine, server is a CentOS VPS. The only error I'm getting is "Connecting to client has failed", nothing is printed to the client log or to the logs on my server. I've also tried connecting from my host machine (windows 7) with the same result. In the config folder I have ca.crt, client.crt, client.key, and client.ovpn which looks like this:
Code: Select all
client
dev tun
proto tcp
remote [VPS IP] 443
resolv-retry infinite
nobind
tun-mtu 1500
tun-mtu-extra 32
mssfix 1450
persist-key
persist-tun
comp-lzo
verb 3
ca "C:\Program Files\OpenVPN\config\ca.crt"
cert "C:\Program Files\OpenVPN\config\client.crt"
key "C:\Program Files\OpenVPN\config\client.key"
The client (OpenVPN GUI v4) was giving me log output before I gave absolute paths so the logging itself works.
I started with udp port 1194 but changed to tcp 443 so I could test with telnet, and that actually works. I'm able to connect and my server logs it:
Code: Select all
Aug 10 20:30:53 xx-xx-xx-xx openvpn[30975]: TCP connection established with [AF_INET][client IP]:49874