How to connect to vpn server from centos client?

Posted April 28, 2017 18.6k views

I followed the below link and created VPN server on Ubuntu 14.04 and also followed steps and created client on centos.

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.


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.

Submit an Answer
1 answer

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:

by Justin Ellingwood
Want to access the Internet safely and securely from your smartphone or laptop when connected to an untrusted network such as the WiFi of a hotel or coffee shop? A Virtual Private Network (VPN) allows you to traverse...