Report this

What is the reason for this report?

How to connect to vpn server from centos client?

Posted on April 28, 2017

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



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!

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.

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.