Question

How to connect to vpn server from centos client?

I followed the below link and created VPN server on Ubuntu 14.04 and also followed steps and created client on centos. **https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-14-04 ** But i need to know how to connect to VPN server (Ubuntu) from the client device (Centos). You gave steps to connect from Android, iOS, Windows, etc but not for linux versions. Pls help.

Regards, Irshad


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.

Hi @hirshad If you’ve already set it up, then you simply launch openvpn on the client like this:

sudo openvpn --config path-to-client-config-file.ovpn

Have look at the Linux client setup in this tutorial for more information: https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-16-04#step-12-install-the-client-configuration