NMCLI VPN setup
NMCLI VPN setup
So, I tried googling it.
But, I couldn't find a page that could elaborate on how to configure a VPN connection using nmcli.
I'm trying to setup a Giganews VPN connection and the directions they have are for GUI only and they don't have the OVPN config files anymore.
https://www.giganews.com/support/vyprvp ... envpn.html
Essentially, I'm trying to setup Network Manager do TWO VPN connectionS using a set of random VPN servers.
Yeah, I know how I can do it using OpenVPN. I'm just trying to figure out how to use the "new cool" thing for setting up connections. I'm also using the fancy new FirewallD as the firewall and to setup the routing.... eventually.
The system will essentially function as a VPN gateway to route some traffic either through the Giganews VPN or the PIA VPNs. It's also going to be TOR proxy.
But, I couldn't find a page that could elaborate on how to configure a VPN connection using nmcli.
I'm trying to setup a Giganews VPN connection and the directions they have are for GUI only and they don't have the OVPN config files anymore.
https://www.giganews.com/support/vyprvp ... envpn.html
Essentially, I'm trying to setup Network Manager do TWO VPN connectionS using a set of random VPN servers.
Yeah, I know how I can do it using OpenVPN. I'm just trying to figure out how to use the "new cool" thing for setting up connections. I'm also using the fancy new FirewallD as the firewall and to setup the routing.... eventually.
The system will essentially function as a VPN gateway to route some traffic either through the Giganews VPN or the PIA VPNs. It's also going to be TOR proxy.
My noob level: LPIC-2, Sec+ CE, Linux+
https://boydhanaleiako.me
https://boydhanaleiako.me
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: NMCLI VPN setup
I guess you can test this one.
Re: NMCLI VPN setup
I saw that one. It's essentially just importing OpenVPN config files. A) Giganews doesn't provide the OpenVPN config anymore and B) It's not quite elaborating on using NMCLI for configuration.
My noob level: LPIC-2, Sec+ CE, Linux+
https://boydhanaleiako.me
https://boydhanaleiako.me
Re: NMCLI VPN setup
Apparently the Network Manager PPTP and OpenVPN packages are not in the repo setup the vpn types.
working command
tried changing the PPTP to openvpn and got the same error in NMTUI saying...
working command
Code: Select all
nmcli connection add ifname tun0 connection.type vpn vpn-type pptp
Could not activate connection: The VPN service 'org.freedesktop.NetworkManager.pptp' was not installed.
My noob level: LPIC-2, Sec+ CE, Linux+
https://boydhanaleiako.me
https://boydhanaleiako.me
Network Manager missing software
In reference please see viewtopic.php?f=50&t=69464&p=291920#p291920
Apparently Network Manager is missing the pptp and OpenVPN stuff.
Apparently Network Manager is missing the pptp and OpenVPN stuff.
Could not activate connection: The VPN service 'org.freedesktop.NetworkManager.pptp' was not installed.
My noob level: LPIC-2, Sec+ CE, Linux+
https://boydhanaleiako.me
https://boydhanaleiako.me
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: NMCLI VPN setup
Hm... this one is for Fedora, maybe it will help you a little - but sadly I can't help you.
Re: NMCLI VPN setup
No worries... 'Tis the world of GNU Linux....hunter86_bg wrote: ↑2019/01/23 10:51:27Hm... this one is for Fedora, maybe it will help you a little - but sadly I can't help you.
I think I sort of figured it out and then ran into an issue where CentOS doesn't have the PPTP and OpenVPN packages for Network Manager.
My noob level: LPIC-2, Sec+ CE, Linux+
https://boydhanaleiako.me
https://boydhanaleiako.me
-
- Posts: 2019
- Joined: 2015/02/17 15:14:33
- Location: Bulgaria
- Contact:
Re: NMCLI VPN setup
Do you have the epel repo ? Most of the good stuff is there.
-
- Posts: 68
- Joined: 2018/12/08 21:46:22
- Location: Italy
Re: Network Manager missing software
Hi, have you tried to install networkmanager-openvpn from epel repo?
Re: NMCLI VPN setup
Merged your posts together. Please keep discussion of one issue in one thread.
You need to install EPEL = yum --enablerepo=extras install epel-release
Now you have access to another 10,000 packages including NetworkManager-pptp.
You need to install EPEL = yum --enablerepo=extras install epel-release
Now you have access to another 10,000 packages including NetworkManager-pptp.
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
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