hirshad
By:
hirshad

How to connect to vpn server from centos client?

April 28, 2017 327 views
VPN CentOS

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

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:
https://www.digitalocean.com/community/tutorials/how-to-set-up-an-openvpn-server-on-ubuntu-16-04#step-12-install-the-client-configuration

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...
Have another answer? Share your knowledge.