Problem importing OpenVPN profile in Linux Mint 18.3 x64 cinnamon



I am running Linux Mint 18.3 x64 cinnamon and have the OpenVPN plugin installed with network manager.  I have an OpenVPN profile from Private Tunnel that I use with no problems on my phone with the OpenVPN Connect app.  I can also use the profile at the terminal window in LM 18.3 successfully.  Attempting to import the OpenVPN profile fails with an error:

Cannot import VPN connection

The file 'Ashburn.ovpn' could not be read or does not contain recognized VPN connection information

Error: the plugin does not support import capability.


In my terminal window I get:

dhdurgee@Z560 ~/Downloads $ sudo openvpn --config /home/dhdurgee/Downloads/Ashburn.ovpn
[sudo] password for dhdurgee:
Thu Nov 16 11:47:46 2017 OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 26 2017 Thu Nov 16 11:47:46 2017 library versions: OpenSSL 1.0.2g 1 Mar 2016, LZO 2.08 Thu Nov 16 11:47:46 2017 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication Thu Nov 16 11:47:46 2017 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication Thu Nov 16 11:47:46 2017 TCP/UDP: Preserving recently used remote address: [AF_INET]172.106.104.151:1194 Thu Nov 16 11:47:46 2017 Socket Buffers: R=[212992->212992] S=[212992->212992]
Thu Nov 16 11:47:46 2017 NOTE: setsockopt TCP_NODELAY=1 failed
Thu Nov 16 11:47:46 2017 UDP link local: (not bound)
Thu Nov 16 11:47:46 2017 UDP link remote: [AF_INET]172.106.104.151:1194
Thu Nov 16 11:47:46 2017 TLS: Initial packet from [AF_INET]172.106.104.151:1194, sid=dfa7b684 f0ff3286
Thu Nov 16 11:47:46 2017 VERIFY OK: depth=2, CN=OpenVPN CA
Thu Nov 16 11:47:46 2017 VERIFY OK: depth=1, CN=PT Transitional 20150615
Thu Nov 16 11:47:46 2017 VERIFY KU OK
Thu Nov 16 11:47:46 2017 Validating certificate extended key usage
Thu Nov 16 11:47:46 2017 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Thu Nov 16 11:47:46 2017 VERIFY EKU OK
Thu Nov 16 11:47:46 2017 VERIFY OK: depth=0, CN=ash2.privatetunnel.com
Thu Nov 16 11:47:46 2017 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA Thu Nov 16 11:47:46 2017 [ash2.privatetunnel.com] Peer Connection Initiated with [AF_INET]172.106.104.151:1194 Thu Nov 16 11:47:47 2017 SENT CONTROL [ash2.privatetunnel.com]: 'PUSH_REQUEST' (status=1) Thu Nov 16 11:47:47 2017 PUSH: Received control message: 'PUSH_REPLY,route-gateway 10.9.0.1,ifconfig 10.9.203.15 255.255.0.0,client-ip 72.83.50.38,ping 8,ping-restart 40,reneg-sec 3600,cipher AES-128-GCM,compress lz4-v2,peer-id 31367,topology subnet,explicit-exit-notify,redirect-gateway def1,dhcp-option DNS 10.9.0.1,sndbuf 0,rcvbuf 0,socket-flags TCP_NODELAY,block-ipv6' Thu Nov 16 11:47:47 2017 Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:3: client-ip (2.4.4) Thu Nov 16 11:47:47 2017 Options error: option 'reneg-sec' cannot be used in this context ([PUSH-OPTIONS]) Thu Nov 16 11:47:47 2017 Option 'explicit-exit-notify' in [PUSH-OPTIONS]:11 is ignored by previous <connection> blocks Thu Nov 16 11:47:47 2017 Options error: Unrecognized option or missing or extra parameter(s) in [PUSH-OPTIONS]:17: block-ipv6 (2.4.4)
Thu Nov 16 11:47:47 2017 OPTIONS IMPORT: timers and/or timeouts modified
Thu Nov 16 11:47:47 2017 OPTIONS IMPORT: explicit notify parm(s) modified
Thu Nov 16 11:47:47 2017 OPTIONS IMPORT: compression parms modified
Thu Nov 16 11:47:47 2017 OPTIONS IMPORT: --sndbuf/--rcvbuf options modified
Thu Nov 16 11:47:47 2017 Socket Buffers: R=[212992->212992] S=[212992->212992]
Thu Nov 16 11:47:47 2017 OPTIONS IMPORT: --socket-flags option modified
Thu Nov 16 11:47:47 2017 NOTE: setsockopt TCP_NODELAY=1 failed
Thu Nov 16 11:47:47 2017 OPTIONS IMPORT: --ifconfig/up options modified
Thu Nov 16 11:47:47 2017 OPTIONS IMPORT: route options modified
Thu Nov 16 11:47:47 2017 OPTIONS IMPORT: route-related options modified
Thu Nov 16 11:47:47 2017 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Thu Nov 16 11:47:47 2017 OPTIONS IMPORT: peer-id set
Thu Nov 16 11:47:47 2017 OPTIONS IMPORT: adjusting link_mtu to 1625
Thu Nov 16 11:47:47 2017 OPTIONS IMPORT: data channel crypto options modified
Thu Nov 16 11:47:47 2017 Data Channel: using negotiated cipher 'AES-128-GCM'
Thu Nov 16 11:47:47 2017 Outgoing Data Channel: Cipher 'AES-128-GCM' initialized with 128 bit key Thu Nov 16 11:47:47 2017 Incoming Data Channel: Cipher 'AES-128-GCM' initialized with 128 bit key Thu Nov 16 11:47:47 2017 ROUTE_GATEWAY 192.168.230.1/255.255.255.0 IFACE=wlp5s0 HWADDR=ac:81:12:a4:5e:43
Thu Nov 16 11:47:47 2017 TUN/TAP device tun0 opened
Thu Nov 16 11:47:47 2017 TUN/TAP TX queue length set to 100
Thu Nov 16 11:47:47 2017 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Thu Nov 16 11:47:47 2017 /sbin/ip link set dev tun0 up mtu 1500
Thu Nov 16 11:47:47 2017 /sbin/ip addr add dev tun0 10.9.203.15/16 broadcast 10.9.255.255 Thu Nov 16 11:47:47 2017 /sbin/ip route add 172.106.104.151/32 via 192.168.230.1
Thu Nov 16 11:47:47 2017 /sbin/ip route add 0.0.0.0/1 via 10.9.0.1
Thu Nov 16 11:47:47 2017 /sbin/ip route add 128.0.0.0/1 via 10.9.0.1
Thu Nov 16 11:47:47 2017 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Thu Nov 16 11:47:47 2017 Initialization Sequence Completed
^CThu Nov 16 11:49:21 2017 event_wait : Interrupted system call (code=4)
Thu Nov 16 11:49:21 2017 SIGTERM received, sending exit notification to peer
Thu Nov 16 11:49:22 2017 /sbin/ip route del 172.106.104.151/32
Thu Nov 16 11:49:22 2017 /sbin/ip route del 0.0.0.0/1
Thu Nov 16 11:49:22 2017 /sbin/ip route del 128.0.0.0/1
Thu Nov 16 11:49:22 2017 Closing TUN/TAP interface
Thu Nov 16 11:49:22 2017 /sbin/ip addr del dev tun0 10.9.203.15/16
Thu Nov 16 11:49:22 2017 SIGTERM[soft,exit-with-notification] received, process exiting
dhdurgee@Z560 ~/Downloads $

==================================================================================================================================

dhdurgee@Z560 ~ $ ifconfig
enp6s0    Link encap:Ethernet  HWaddr b8:70:f4:2c:6b:9f
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:83782 errors:0 dropped:0 overruns:0 frame:0
          TX packets:83782 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:7666974 (7.6 MB)  TX bytes:7666974 (7.6 MB)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          inet addr:10.9.203.15  P-t-P:10.9.203.15 Mask:255.255.0.0
          inet6 addr: fe80::d374:65e7:e991:15fe/64 Scope:Link
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1500 Metric:1
          RX packets:129 errors:0 dropped:0 overruns:0 frame:0
          TX packets:162 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:114142 (114.1 KB)  TX bytes:11067 (11.0 KB)

wlp5s0    Link encap:Ethernet  HWaddr ac:81:12:a4:5e:43
          inet addr:192.168.230.233  Bcast:192.168.230.255 Mask:255.255.255.0
          inet6 addr: fe80::9d28:bee9:e967:a92d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500 Metric:1
          RX packets:2062571 errors:0 dropped:0 overruns:0 frame:2445874
          TX packets:1764055 errors:304 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2257208333 (2.2 GB)  TX bytes:219254678 (219.2 MB)
          Interrupt:17

dhdurgee@Z560 ~ $ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         10.9.0.1        128.0.0.0       UG 0      0        0 tun0
default         192.168.230.1   0.0.0.0         UG 600    0        0 wlp5s0
10.9.0.0        *               255.255.0.0     U 0      0        0 tun0
128.0.0.0       10.9.0.1        128.0.0.0       UG 0      0        0 tun0
link-local      *               255.255.0.0     U 1000   0        0 wlp5s0
unassigned.psyc 192.168.230.1   255.255.255.255 UGH 0      0        0 wlp5s0
192.168.230.0   *               255.255.255.0   U 600    0        0 wlp5s0
dhdurgee@Z560 ~ $ ifconfig
enp6s0    Link encap:Ethernet  HWaddr b8:70:f4:2c:6b:9f
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:83799 errors:0 dropped:0 overruns:0 frame:0
          TX packets:83799 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1
          RX bytes:7668354 (7.6 MB)  TX bytes:7668354 (7.6 MB)

wlp5s0    Link encap:Ethernet  HWaddr ac:81:12:a4:5e:43
          inet addr:192.168.230.233  Bcast:192.168.230.255 Mask:255.255.255.0
          inet6 addr: fe80::9d28:bee9:e967:a92d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500 Metric:1
          RX packets:2062789 errors:0 dropped:0 overruns:0 frame:2446177
          TX packets:1764302 errors:304 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2257401345 (2.2 GB)  TX bytes:219287637 (219.2 MB)
          Interrupt:17

dhdurgee@Z560 ~ $ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.230.1   0.0.0.0         UG 600    0        0 wlp5s0
link-local      *               255.255.0.0     U 1000   0        0 wlp5s0
192.168.230.0   *               255.255.255.0   U 600    0        0 wlp5s0
dhdurgee@Z560 ~ $


How can I get this profile imported?  If you need more information please let me know.

Dave


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]