Connect to a VPN server on Centos 7

Issues related to configuring your network
Post Reply
rongtler
Posts: 6
Joined: 2018/06/27 03:03:31

Connect to a VPN server on Centos 7

Post by rongtler » 2018/06/27 03:27:34

Hi everyone,

I'm having a client-server VPN connection. On Window 10, I can access to the server quickly by filling the username and password. Then, I install Centos 7 using VMWare Workstation on Window. How can I connect to the VPN server on Centos 7 ?

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

Re: Connect to a VPN server on Centos 7

Post by TrevorH » 2018/06/27 09:32:17

What sort of VPN?
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

rongtler
Posts: 6
Joined: 2018/06/27 03:03:31

Re: Connect to a VPN server on Centos 7

Post by rongtler » 2018/06/28 03:25:04

TrevorH wrote:
2018/06/27 09:32:17
What sort of VPN?
It's PPTP VPN.

rongtler
Posts: 6
Joined: 2018/06/27 03:03:31

Re: Connect to a VPN server on Centos 7

Post by rongtler » 2018/06/29 09:04:03

TrevorH wrote:
2018/06/27 09:32:17
What sort of VPN?
Hi TrevorH, here comes a little bit update for my problem.

So far, I have installed

Code: Select all

EPEL, NetworkManager-pptp-gnome, pptp-1.7.2-22.el7 and kde-plasma-networkmanagement-openvpn
to establish a PPTP VPN connection.

Then, I use the command

Code: Select all

nm-connection-editor
to open NetworkManager and create a VPN connection. However, I can't find the PPTP option and the system returns a message:

Code: Select all

** Message: vpn: (pptp,/etc/NetworkManager/VPN/nm-pptp-service.name) cannot load legacy-only plugin. 
If you have any suggestion, please tell me.

User avatar
fdisk
Posts: 42
Joined: 2017/11/04 00:59:56

Re: Connect to a VPN server on Centos 7

Post by fdisk » 2018/07/02 19:06:00

Have a look at Redhat Bugzilla, as this might be a known bug: https://bugzilla.redhat.com/show_bug.cgi?id=1467910

rongtler
Posts: 6
Joined: 2018/06/27 03:03:31

Re: Connect to a VPN server on Centos 7

Post by rongtler » 2018/07/04 02:29:11

Thanks fdisk!

In the link you give me, the last comment points out the problem: "Because the old NetworkManager linked with the old libnm-util/libnm-glib and not with libnm. Download the latest source from gnome, compile it manually and it's working fine."

So it turns out that PPTP has been depreciated and EPEL tends to stop updating this method. The current version that EPEL provides for NetworkManager-pptp is 1.1.3 while the newest version on GNOME is 1.2.6. So I remove the 1.1.3 version from EPEL, download the latest NetworkManager-pptp-1.2.6.rpm and then reinstall it. Then, I can be able to establish a PPTP VPN client-server connection.

Post Reply