Starting openvpn client on CentOS7

Issues related to configuring your network
User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Starting openvpn client on CentOS7

Post by TrevorH » 2017/12/02 11:43:07

I would guess that it's openvpn from EPEL.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

taylorkh
Posts: 534
Joined: 2010/11/24 15:08:33
Location: North Carolina, USA

Re: Starting openvpn client on CentOS7

Post by taylorkh » 2017/12/02 12:44:15

The openvpn client is just that. A CLIENT program. It is used to access someone else's VPN. There is also an openvpn SERVICE which you can install on your machine if you wish to access it remotely through a VPN tunnel or to allow others to access the machine via a tunnel through the Internet. A typical case for this would be for a company to allow employees on the road to "phone home" and access resources within the company's local network.

I am in the process of writing up my "solution" to using openvpn to access the ProtonVPN service. It has gone through a number of improvements since I opened this thread. I will try to get it posted on the forum this weekend and will link this thread to the new thread,

Ken

p.s. There is an Openvpn forum which is quite informative https://forums.openvpn.net/

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Starting openvpn client on CentOS7

Post by TrevorH » 2017/12/02 12:53:19

Oh, the service name from the EPEL copy is not openvpn@, it's openvpn-client@ so just fixing that might help.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
jlehtone
Posts: 4523
Joined: 2007/12/11 08:17:33
Location: Finland

Re: Starting openvpn client on CentOS7

Post by jlehtone » 2017/12/02 16:03:55

Openvpn used to have just one service, where config had either "server" or "client". They did separate the modes (and config file locations) in recent update. Hence the new service names.

Overall, there is less "server" and "client" in openvpn, because the resulting "private subnet" can still support various routing purposes. The essential difference is that one side must start first, listen for incoming connection attempts, and provide DHCP-like services, while the other side connects to the listener.

taylorkh
Posts: 534
Joined: 2010/11/24 15:08:33
Location: North Carolina, USA

Re: Starting openvpn client on CentOS7

Post by taylorkh » 2017/12/03 15:40:41

For what it might be worth, I have written up a description of my use of openvpn to connect to an outside VPN. Here is the thread https://www.linuxquestions.org/question ... 175618851/

Ken

Post Reply