Question

Tunneling VPS traffic through VPN (Using VPS as OpenVPN Client)

I am trying to tunnel the traffic coming from a VPS through a VPN but it doesn’t seem to be working.

The current .ovpn file that I am using seems to work just fine on my local machine, but when I launch it on the VPS it just hangs here:

Thu Aug 13 01:23:47 2015 OpenVPN 2.3.2 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [eurephia] [MH] [IPv6] built on Dec  1 2014
Thu Aug 13 01:23:47 2015 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
Thu Aug 13 01:23:47 2015 Socket Buffers: R=[212992->131072] S=[212992->131072]
Thu Aug 13 01:23:47 2015 UDPv4 link local: [undef]
Thu Aug 13 01:23:47 2015 UDPv4 link remote: [undef]

I have been googling for hours and can’t find an answer, so I am assuming it is simple, but I don’t have the experience to answer it on my own.

It seems to not be binding and not connecting to the remote IP address. What am I doing wrong?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Anyone that may have this problem in the future, you can find the answer here: https://serverfault.com/a/660106/376630

Also see here: https://serverfault.com/questions/891447/openvpn-client-freezes-on-connection/891457#891457

I am having this same problem. :/ I can use the .ovpn file to successfully connect from my local machine, but when I launch it on my DigitalOcean box, it just hangs there. :/