You are not logged in.

#1 2015-11-19 23:40:28

c1t1z3n-z3r0
New Member
Registered: 2015-11-19
Posts: 3

network-manager-openvpn not storing user created connections

Not real sure where this actually falls into,
But trying to set up my vpn connection via network manager, after installing openvpn, network-manager-openvpn, pptp, vpnc, & gnome, I have yet to get the network manager to allow me to use any of the connections supposedly created from imported configuration files.
When going into view available connections, nothing that should be stored is stored.
It does not appear after restarting the network manager, nor after reboot...
Anybody care to tell me what it is that I am missing?

Thank You
C0

Offline

#2 2015-11-20 06:38:37

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: network-manager-openvpn not storing user created connections

I've never used OpenVPN so I can't help directly but here is the Debian wiki page:
https://wiki.debian.org/OpenVPN

Offline

#3 2015-11-21 02:17:24

paxmark1
Member
Registered: 2015-10-02
Posts: 45

Re: network-manager-openvpn not storing user created connections

Not an answer, I do not have a persistent openvpn setup 

but what I do for a vpn is go to tty1 via Ctl-Alt-F1

log in as root,
tmux      ## screen  would work also
cd /etc/openvpn    ## where my .ovpn files are
openvpn   myblahblah.ovpn     #   which starts up the vpn


and when it has initialized I put the tmux out of the way via detaching. 

Ctl-B-D

You could do this in a root terminal in the window environment also.  You can use sudo  instead of a root environment. . 

This way you can see if  the vpn is running.  To see if it is doing an effective job of a vpn you can use a geo-ip website, for me Toronto means it is working and somewhere in Manitoba means it is not working. 

I don't use network-manager.  A stab in the dark - if you are in a gnome environment - do you have network-manager-gnome installed?

Also, you might want to read up on journalctl especially options to view selected information. 

sudo journalctl -b -0 | grep network-manager      ## would give some info as to how your network is started. 

For me - using connman

Nov 20 07:37:44 rauneseee connmand[533]: wlan0 {add} route 0.0.0.0 gw 192.168.100.254 scope 0 <UNIVERSE>
Nov 20 07:37:45 rauneseee connmand[533]: wlan0 {add} route 82.165.8.211 gw 192.168.100.254 scope 0 <UNIVERSE>
Nov 20 07:37:45 rauneseee connmand[533]: wlan0 {del} route 82.165.8.211 gw 192.168.100.254 scope 0 <UNIVERSE>
Nov 20 16:43:45 rauneseee connmand[533]: tun0 {create} index 4 type 65534 <NONE>
Nov 20 16:43:45 rauneseee connmand[533]: tun0 {update} flags 4240 <DOWN>
Nov 20 16:43:45 rauneseee connmand[533]: tun0 {newlink} index 4 address 00:00:00:00:00:00 mtu 1500
Nov 20 16:43:45 rauneseee connmand[533]: tun0 {newlink} index 4 operstate 2 <DOWN>
Nov 20 16:43:45 rauneseee connman-vpnd[521]: tun0 {create} index 4 type 65534 <NONE>
Nov 20 16:43:45 rauneseee connman-vpnd[521]: tun0 {update} flags 4240 <DOWN>
Nov 20 16:43:45 rauneseee connman-vpnd[521]: tun0 {newlink} index 4 operstate 2 <DOWN>
Nov 20 16:43:45 rauneseee connmand[533]: tun0 {update} flags 69841 <UP,RUNNING,LOWER_UP>
Nov 20 16:43:45 rauneseee connmand[533]: tun0 {newlink} index 4 address 00:00:00:00:00:00 mtu 1500
Nov 20 16:43:45 rauneseee connmand[533]: tun0 {newlink} index 4 operstate 0 <UNKNOWN>
Nov 20 16:43:45 rauneseee connman-vpnd[521]: tun0 {update} flags 69841 <UP,RUNNING,LOWER_UP>
Nov 20 16:43:45 rauneseee connman-vpnd[521]: tun0 {newlink} index 4 operstate 0 <UNKNOWN>
Nov 20 16:43:45 rauneseee connmand[533]: tun0 {newlink} index 4 address 00:00:00:00:00:00 mtu 1500
Nov 20 16:43:45 rauneseee connmand[533]: tun0 {newlink} index 4 operstate 0 <UNKNOWN>
Nov 20 16:43:45 rauneseee connman-vpnd[521]: tun0 {newlink} index 4 operstate 0 <UNKNOWN>
Nov 20 16:43:45 rauneseee connmand[533]: tun0 {add} address 10.10.0.14/32 label tun0 family 2
Nov 20 16:43:45 rauneseee connmand[533]: tun0 {add} route 10.10.0.13 gw 0.0.0.0 scope 253 <LINK>
Nov 20 16:43:47 rauneseee connmand[533]: wlan0 {add} route 1??.21.149.140 gw 192.168.100.254 scope 0 <UNIVERSE>
Nov 20 16:43:47 rauneseee connmand[533]: tun0 {add} route 0.0.0.0 gw 10.10.0.13 scope 0 <UNIVERSE>
Nov 20 16:43:47 rauneseee connmand[533]: tun0 {add} route 128.0.0.0 gw 10.10.0.13 scope 0 <UNIVERSE>
Nov 20 16:43:47 rauneseee connmand[533]: tun0 {add} route 10.10.0.1 gw 10.10.0.13 scope 0 <UNIVERSE>

Happy zig-zag obfuscated internet trails.

Offline

#4 2016-02-19 14:09:57

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: network-manager-openvpn not storing user created connections

c1t1z3n-z3r0 wrote:

Not real sure where this actually falls into,
But trying to set up my vpn connection via network manager, after installing openvpn, network-manager-openvpn, pptp, vpnc, & gnome, I have yet to get the network manager to allow me to use any of the connections supposedly created from imported configuration files.
When going into view available connections, nothing that should be stored is stored.
It does not appear after restarting the network manager, nor after reboot...
Anybody care to tell me what it is that I am missing?

Thank You
C0

This thread is a bit old but someone might find it useful: When I tried to set it up to work via GUI, also network-manager-openvpn-gnome had to be installed. After a restart - service network-manager restart - and configuration everything was working fine.

Offline

Board footer

Powered by FluxBB