Jump to content


Photo

Airvpn client cannot connect in Linux Mint 18.3 - Windows OK

mint disconnecting

Best Answer MauriceYoumano, 18 November 2018 - 06:21 PM

Thank you very much. Works like a charm.

 

Mint 18.3 come with OpenVpn 2.3.10 by default. I will see if I can get a ppa for version 2.4. It seems that openvpn has some dependencies attached.

 

Just as a follow up I found the latest one (stable) here ;

 

community.openvpn.net/openvpn/wiki/OpenvpnSoftwareRepos

 

Uninstall previous version and follow the instructions, the correct line for the repo and Mint 18.3 is ;

 

> echo "deb http://build.openvpn.net/debian/openvpn/stable xenial main" > /etc/apt/sources.list.d/openvpn-aptrepo.list

 

which give me OpenVpn 2.4.6

 

Eddie now work fine with ipv6.

 

Note: Linux Mint Tara (19) comes with OV 2.4.4 which works probably ok.

 

Now I'll see if I can get that thing to work in Manjaro (18)

 

 

Thank for the excellent and quick support  :yes:

Go to the full post


  • Please log in to reply
3 replies to this topic

#1 MauriceYoumano

MauriceYoumano

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 18 November 2018 - 04:59 PM

I just install version 2.16.3 in Mint 18.3 Cinnamon. Installation is fine. However it cannot connect to any site. Any server connection goes into a loop and disconnect-reconnect. I have tried version 2.15.2, same effect.

 

It is a dual boot system and with windows 7, the connection goes through and work without issue. It is something with Mint (tried it on 2 computers). I tried differents protocols but it make no difference. Don't use any proxy either.

 

 

...log :

 

 

. 2018.11.18 11:49:54 - Eddie version: 2.15.2 / linux_x64, System: Linux, Name: Linux Mint 18.3 Sylvia \n \l, Version: Linux Mint181Sandra 4.15.0-38-generic #41~16.04.1-Ubuntu SMP Wed Oct 10 20:16:04 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, Mono/.Net: 4.2.1 (Debian 4.2.1.102+dfsg2-7ubuntu4); Framework: v4.0.30319
. 2018.11.18 11:49:54 - Reading options from /home/maurice/.airvpn/default.xml
. 2018.11.18 11:49:54 - Command line arguments (5): path="/home/maurice/.airvpn" path.resources="/usr/share/eddie-ui" path.exec="/usr/bin/eddie-ui" console.mode="none" linux.dbus="unix:abstract=/tmp/dbus-cIKaXdGTnI,guid=0652ccb2ce73e70484cf419f5bf18313"
. 2018.11.18 11:49:54 - Profile path: /home/maurice/.airvpn/default.xml
. 2018.11.18 11:49:56 - OpenVPN Driver - Found, /dev/net/tun
. 2018.11.18 11:49:56 - OpenVPN - Version: 2.3.10 - OpenSSL 1.0.2g  1 Mar 2016, LZO 2.08 (/usr/sbin/openvpn)
. 2018.11.18 11:49:56 - SSH - Version: OpenSSH_7.2p2 Ubuntu-4ubuntu2.6, OpenSSL 1.0.2g  1 Mar 2016 (/usr/bin/ssh)
. 2018.11.18 11:49:56 - SSL - Version: stunnel 5.30 (/usr/bin/stunnel4)
. 2018.11.18 11:49:56 - curl - Version: 7.47.0 (/usr/bin/curl)
. 2018.11.18 11:49:56 - Certification Authorities: /usr/share/eddie-ui/cacert.pem
. 2018.11.18 11:49:56 - Updating systems & servers data ...
I 2018.11.18 11:49:56 - Ready
. 2018.11.18 11:49:57 - Systems & servers data update completed
I 2018.11.18 11:50:04 - Session starting.
I 2018.11.18 11:50:04 - Checking authorization ...
! 2018.11.18 11:50:04 - Connecting to Sargas (Canada, Toronto, Ontario)
. 2018.11.18 11:50:04 - OpenVPN > OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Jun 22 2017
. 2018.11.18 11:50:04 - OpenVPN > library versions: OpenSSL 1.0.2g  1 Mar 2016, LZO 2.08
. 2018.11.18 11:50:04 - Connection to OpenVPN Management Interface
. 2018.11.18 11:50:04 - OpenVPN > MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:3100
. 2018.11.18 11:50:04 - OpenVPN > Control Channel Authentication: tls-auth using INLINE static key file
. 2018.11.18 11:50:04 - OpenVPN > Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2018.11.18 11:50:04 - OpenVPN > Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2018.11.18 11:50:04 - OpenVPN > Socket Buffers: R=[212992->212992] S=[212992->212992]
. 2018.11.18 11:50:04 - OpenVPN > UDPv4 link local: [undef]
. 2018.11.18 11:50:04 - OpenVPN > UDPv4 link remote: [AF_INET]184.75.223.194:443
. 2018.11.18 11:50:04 - OpenVPN > TLS: Initial packet from [AF_INET]184.75.223.194:443, sid=0eddd595 08332285
. 2018.11.18 11:50:04 - OpenVPN > MANAGEMENT: Client connected from [AF_INET]127.0.0.1:3100
. 2018.11.18 11:50:04 - OpenVPN > VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
. 2018.11.18 11:50:04 - OpenVPN > Validating certificate key usage
. 2018.11.18 11:50:04 - OpenVPN > ++ Certificate has key usage  00a0, expects 00a0
. 2018.11.18 11:50:04 - OpenVPN > VERIFY KU OK
. 2018.11.18 11:50:04 - OpenVPN > Validating certificate extended key usage
. 2018.11.18 11:50:04 - OpenVPN > ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
. 2018.11.18 11:50:04 - OpenVPN > VERIFY EKU OK
. 2018.11.18 11:50:04 - OpenVPN > VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=Sargas, emailAddress=info@airvpn.org
. 2018.11.18 11:50:04 - OpenVPN > Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2018.11.18 11:50:04 - OpenVPN > Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2018.11.18 11:50:04 - OpenVPN > Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2018.11.18 11:50:04 - OpenVPN > Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2018.11.18 11:50:04 - OpenVPN > Control Channel: TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-GCM-SHA384, 4096 bit RSA
. 2018.11.18 11:50:04 - OpenVPN > [Sargas] Peer Connection Initiated with [AF_INET]184.75.223.194:443
. 2018.11.18 11:50:07 - OpenVPN > SENT CONTROL [Sargas]: 'PUSH_REQUEST' (status=1)
. 2018.11.18 11:50:07 - OpenVPN > PUSH: Received control message: 'PUSH_REPLY,comp-lzo no,redirect-gateway  def1 bypass-dhcp,dhcp-option DNS 10.29.56.1,route-gateway 10.29.56.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.29.56.206 255.255.255.0,peer-id 5'
. 2018.11.18 11:50:07 - OpenVPN > OPTIONS IMPORT: timers and/or timeouts modified
. 2018.11.18 11:50:07 - OpenVPN > OPTIONS IMPORT: LZO parms modified
. 2018.11.18 11:50:07 - OpenVPN > OPTIONS IMPORT: --ifconfig/up options modified
. 2018.11.18 11:50:07 - OpenVPN > OPTIONS IMPORT: route options modified
. 2018.11.18 11:50:07 - OpenVPN > OPTIONS IMPORT: route-related options modified
. 2018.11.18 11:50:07 - OpenVPN > OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
. 2018.11.18 11:50:07 - OpenVPN > OPTIONS IMPORT: peer-id set
. 2018.11.18 11:50:07 - OpenVPN > OPTIONS IMPORT: adjusting link_mtu to 1561
. 2018.11.18 11:50:07 - OpenVPN > ROUTE_GATEWAY 192.168.1.1/255.255.255.0 IFACE=enp3s0 HWADDR=e0:d5:5e:7b:4b:4a
. 2018.11.18 11:50:07 - OpenVPN > TUN/TAP device tun0 opened
. 2018.11.18 11:50:07 - OpenVPN > TUN/TAP TX queue length set to 100
. 2018.11.18 11:50:07 - OpenVPN > do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
. 2018.11.18 11:50:07 - OpenVPN > /sbin/ip link set dev tun0 up mtu 1500
. 2018.11.18 11:50:07 - OpenVPN > /sbin/ip addr add dev tun0 10.29.56.206/24 broadcast 10.29.56.255
. 2018.11.18 11:50:12 - OpenVPN > /sbin/ip route add 184.75.223.194/32 via 192.168.1.1
. 2018.11.18 11:50:12 - OpenVPN > /sbin/ip route add 0.0.0.0/1 via 10.29.56.1
. 2018.11.18 11:50:12 - OpenVPN > /sbin/ip route add 128.0.0.0/1 via 10.29.56.1
. 2018.11.18 11:50:12 - /etc/resolv.conf moved to /etc/resolv.conf.eddie as backup
. 2018.11.18 11:50:12 - DNS of the system updated to VPN DNS (Rename method: /etc/resolv.conf generated)
. 2018.11.18 11:50:12 - Routes, added a new route, 184.75.223.195 for gateway 10.29.56.1
. 2018.11.18 11:50:12 - Unable to compute route for 2606:6080:1002:4:88e7:e893:3692:25d2: IPv6 VPN gateway not available.
. 2018.11.18 11:50:12 - Flushing DNS
I 2018.11.18 11:50:14 - Checking route IPv4
I 2018.11.18 11:50:14 - Checking route IPv6
. 2018.11.18 11:50:14 - curl: (7) Couldn't connect to server
. 2018.11.18 11:50:14 - Checking route (2° try)
. 2018.11.18 11:50:15 - curl: (7) Couldn't connect to server
. 2018.11.18 11:50:15 - Checking route (3° try)
. 2018.11.18 11:50:17 - curl: (7) Couldn't connect to server
E 2018.11.18 11:50:17 - Checking route IPv6 failed.
. 2018.11.18 11:50:17 - OpenVPN > Initialization Sequence Completed
! 2018.11.18 11:50:17 - Disconnecting
. 2018.11.18 11:50:17 - Routes, removed a route previously added, 184.75.223.195 for gateway 10.29.56.1
. 2018.11.18 11:50:17 - Sending management termination signal
. 2018.11.18 11:50:17 - Management - Send 'signal SIGTERM'
. 2018.11.18 11:50:17 - OpenVPN > MANAGEMENT: CMD 'signal SIGTERM'
. 2018.11.18 11:50:17 - OpenVPN > SIGTERM received, sending exit notification to peer
. 2018.11.18 11:50:22 - OpenVPN > /sbin/ip route del 184.75.223.194/32
. 2018.11.18 11:50:22 - OpenVPN > /sbin/ip route del 0.0.0.0/1
. 2018.11.18 11:50:22 - OpenVPN > /sbin/ip route del 128.0.0.0/1
. 2018.11.18 11:50:22 - OpenVPN > Closing TUN/TAP interface
. 2018.11.18 11:50:22 - OpenVPN > /sbin/ip addr del dev tun0 10.29.56.206/24
. 2018.11.18 11:50:22 - OpenVPN > SIGTERM[soft,exit-with-notification] received, process exiting
. 2018.11.18 11:50:22 - Connection terminated.
. 2018.11.18 11:50:22 - DNS of the system restored to original settings (Rename method)
I 2018.11.18 11:50:25 - Cancel requested.
! 2018.11.18 11:50:25 - Session terminated.
I 2018.11.18 11:50:31 - Session starting.
I 2018.11.18 11:50:31 - Checking authorization ...
! 2018.11.18 11:50:32 - Connecting to Musca (United States, Atlanta, Georgia)
. 2018.11.18 11:50:32 - OpenVPN > OpenVPN 2.3.10 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Jun 22 2017
. 2018.11.18 11:50:32 - OpenVPN > library versions: OpenSSL 1.0.2g  1 Mar 2016, LZO 2.08
. 2018.11.18 11:50:32 - Connection to OpenVPN Management Interface
. 2018.11.18 11:50:32 - OpenVPN > MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:3100
. 2018.11.18 11:50:32 - OpenVPN > Control Channel Authentication: tls-auth using INLINE static key file
. 2018.11.18 11:50:32 - OpenVPN > Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2018.11.18 11:50:32 - OpenVPN > Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2018.11.18 11:50:32 - OpenVPN > Socket Buffers: R=[212992->212992] S=[212992->212992]
. 2018.11.18 11:50:32 - OpenVPN > UDPv4 link local: [undef]
. 2018.11.18 11:50:32 - OpenVPN > UDPv4 link remote: [AF_INET]64.42.179.42:443
. 2018.11.18 11:50:32 - OpenVPN > TLS: Initial packet from [AF_INET]64.42.179.42:443, sid=68723762 59be19ea
. 2018.11.18 11:50:32 - OpenVPN > MANAGEMENT: Client connected from [AF_INET]127.0.0.1:3100
. 2018.11.18 11:50:32 - OpenVPN > VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
. 2018.11.18 11:50:32 - OpenVPN > Validating certificate key usage
. 2018.11.18 11:50:32 - OpenVPN > ++ Certificate has key usage  00a0, expects 00a0
. 2018.11.18 11:50:32 - OpenVPN > VERIFY KU OK
. 2018.11.18 11:50:32 - OpenVPN > Validating certificate extended key usage
. 2018.11.18 11:50:32 - OpenVPN > ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
. 2018.11.18 11:50:32 - OpenVPN > VERIFY EKU OK
. 2018.11.18 11:50:32 - OpenVPN > VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=Musca, emailAddress=info@airvpn.org
. 2018.11.18 11:50:32 - OpenVPN > Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2018.11.18 11:50:32 - OpenVPN > Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2018.11.18 11:50:32 - OpenVPN > Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2018.11.18 11:50:32 - OpenVPN > Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2018.11.18 11:50:32 - OpenVPN > Control Channel: TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-GCM-SHA384, 4096 bit RSA
. 2018.11.18 11:50:32 - OpenVPN > [Musca] Peer Connection Initiated with [AF_INET]64.42.179.42:443
. 2018.11.18 11:50:35 - OpenVPN > SENT CONTROL [Musca]: 'PUSH_REQUEST' (status=1)
. 2018.11.18 11:50:35 - OpenVPN > PUSH: Received control message: 'PUSH_REPLY,comp-lzo no,redirect-gateway  def1 bypass-dhcp,dhcp-option DNS 10.23.56.1,route-gateway 10.23.56.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.23.56.80 255.255.255.0,peer-id 1'
. 2018.11.18 11:50:35 - OpenVPN > OPTIONS IMPORT: timers and/or timeouts modified
. 2018.11.18 11:50:35 - OpenVPN > OPTIONS IMPORT: LZO parms modified
. 2018.11.18 11:50:35 - OpenVPN > OPTIONS IMPORT: --ifconfig/up options modified
. 2018.11.18 11:50:35 - OpenVPN > OPTIONS IMPORT: route options modified
. 2018.11.18 11:50:35 - OpenVPN > OPTIONS IMPORT: route-related options modified
. 2018.11.18 11:50:35 - OpenVPN > OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
. 2018.11.18 11:50:35 - OpenVPN > OPTIONS IMPORT: peer-id set
. 2018.11.18 11:50:35 - OpenVPN > OPTIONS IMPORT: adjusting link_mtu to 1561
. 2018.11.18 11:50:35 - OpenVPN > ROUTE_GATEWAY 192.168.1.1/255.255.255.0 IFACE=enp3s0 HWADDR=e0:d5:5e:7b:4b:4a
. 2018.11.18 11:50:35 - OpenVPN > TUN/TAP device tun0 opened
. 2018.11.18 11:50:35 - OpenVPN > TUN/TAP TX queue length set to 100
. 2018.11.18 11:50:35 - OpenVPN > do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
. 2018.11.18 11:50:35 - OpenVPN > /sbin/ip link set dev tun0 up mtu 1500
. 2018.11.18 11:50:35 - OpenVPN > /sbin/ip addr add dev tun0 10.23.56.80/24 broadcast 10.23.56.255
. 2018.11.18 11:50:40 - OpenVPN > /sbin/ip route add 64.42.179.42/32 via 192.168.1.1
. 2018.11.18 11:50:40 - OpenVPN > /sbin/ip route add 0.0.0.0/1 via 10.23.56.1
. 2018.11.18 11:50:40 - OpenVPN > /sbin/ip route add 128.0.0.0/1 via 10.23.56.1
. 2018.11.18 11:50:40 - /etc/resolv.conf moved to /etc/resolv.conf.eddie as backup
. 2018.11.18 11:50:40 - DNS of the system updated to VPN DNS (Rename method: /etc/resolv.conf generated)
. 2018.11.18 11:50:40 - Routes, added a new route, 64.42.179.43 for gateway 10.23.56.1
. 2018.11.18 11:50:40 - Unable to compute route for 2605:9f80:6000:78:848d:e3b5:8bc8:34f: IPv6 VPN gateway not available.
. 2018.11.18 11:50:40 - Flushing DNS
I 2018.11.18 11:50:41 - Checking route IPv4
I 2018.11.18 11:50:42 - Checking route IPv6
. 2018.11.18 11:50:42 - curl: (7) Couldn't connect to server
. 2018.11.18 11:50:42 - Checking route (2° try)
. 2018.11.18 11:50:43 - curl: (7) Couldn't connect to server
. 2018.11.18 11:50:43 - Checking route (3° try)
. 2018.11.18 11:50:45 - curl: (7) Couldn't connect to server
E 2018.11.18 11:50:45 - Checking route IPv6 failed.
. 2018.11.18 11:50:45 - OpenVPN > Initialization Sequence Completed
! 2018.11.18 11:50:45 - Disconnecting
. 2018.11.18 11:50:45 - Routes, removed a route previously added, 64.42.179.43 for gateway 10.23.56.1
. 2018.11.18 11:50:45 - Sending management termination signal
. 2018.11.18 11:50:45 - Management - Send 'signal SIGTERM'
. 2018.11.18 11:50:45 - OpenVPN > MANAGEMENT: CMD 'signal SIGTERM'
. 2018.11.18 11:50:45 - OpenVPN > SIGTERM received, sending exit notification to peer
. 2018.11.18 11:50:50 - OpenVPN > /sbin/ip route del 64.42.179.42/32
. 2018.11.18 11:50:50 - OpenVPN > /sbin/ip route del 0.0.0.0/1
. 2018.11.18 11:50:50 - OpenVPN > /sbin/ip route del 128.0.0.0/1
. 2018.11.18 11:50:50 - OpenVPN > Closing TUN/TAP interface
. 2018.11.18 11:50:50 - OpenVPN > /sbin/ip addr del dev tun0 10.23.56.80/24
. 2018.11.18 11:50:50 - OpenVPN > SIGTERM[soft,exit-with-notification] received, process exiting
. 2018.11.18 11:50:50 - Connection terminated.
. 2018.11.18 11:50:50 - DNS of the system restored to original settings (Rename method)
I 2018.11.18 11:50:52 - Cancel requested.
! 2018.11.18 11:50:52 - Session terminated.
 


#2 Staff

Staff

    Advanced Member

  • Staff
  • PipPipPip
  • 7856 posts

Posted 18 November 2018 - 05:13 PM

Hello!

Please try the following settings:

- from Eddie main window select "Preferences" > "Networking"
- set the "IPv6 layers" combo box to "Blocked"
- click "Save"

Alternative solution: upgrade to OpenVPN 2.4 or higher version.

Explanation: OpenVPN versions older than 2.4 do not handle IPv6 properly. So our servers do not perform the IPv6 push when they detect older versions, in order to not break retro-compatibility. However Eddie (for a bug in 2.15.x and 2.16.x, fixed in 2.17.2beta) tries anyway to check the IPv6 route in the tunnel and it obviously fails.

Kind regards



#3 MauriceYoumano

MauriceYoumano

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 18 November 2018 - 05:58 PM

Thank you very much. Works like a charm.

 

Mint 18.3 come with OpenVpn 2.3.10 by default. I will see if I can get a ppa for version 2.4. It seems that openvpn has some dependencies attached.



#4 MauriceYoumano

MauriceYoumano

    Newbie

  • Members
  • Pip
  • 7 posts

Posted 18 November 2018 - 06:21 PM   Best Answer

Thank you very much. Works like a charm.

 

Mint 18.3 come with OpenVpn 2.3.10 by default. I will see if I can get a ppa for version 2.4. It seems that openvpn has some dependencies attached.

 

Just as a follow up I found the latest one (stable) here ;

 

community.openvpn.net/openvpn/wiki/OpenvpnSoftwareRepos

 

Uninstall previous version and follow the instructions, the correct line for the repo and Mint 18.3 is ;

 

> echo "deb http://build.openvpn.net/debian/openvpn/stable xenial main" > /etc/apt/sources.list.d/openvpn-aptrepo.list

 

which give me OpenVpn 2.4.6

 

Eddie now work fine with ipv6.

 

Note: Linux Mint Tara (19) comes with OV 2.4.4 which works probably ok.

 

Now I'll see if I can get that thing to work in Manjaro (18)

 

 

Thank for the excellent and quick support  :yes:







Similar Topics Collapse


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

Servers online. Online Sessions: 16174 - BW: 57966 Mbit/sYour IP: 3.91.79.74Guest Access.