Jump to content
Not connected, Your IP: 3.145.15.205
berder

eddie-cli can't connect to any remote server

Recommended Posts

Posted ... (edited)

Hi,

This is my first attempt at running a VPN client.  My OS is Slackware 14.2, so I downloaded the Linux CLI client tar.gz, but it fails to connect to any server.  Trying the AppImage didn't help.

I noticed that if I use the "-connect" option or don't wait long enough (about 30 seconds I guess), then the client freezes on "Waiting for latency tests" and never attempts to actually connect to a server.

Anyway, if I wait long enough for the latency tests to finish in background without printing the "Waiting for latency tests" message, the client tries to connect but fails on a network interface error, and then tries again on another server, and again, without ever succeeding.

Here is an example log (until it attempts the second connection) :
 

$ sudo ./eddie-cli profile=AirVPN_Europe_UDP-443.ovpn -login=foo -password=bar
. 2020.04.26 00:05:23 - Eddie version: 2.18.9 / linux_x64, System: Linux, Name: Welcome to \s \r (\l), Version: Linux deepthought 4.4.190 #1 SMP Mon Aug 26 15:57:46 CDT 2019 x86_64 Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz GenuineIntel GNU/Linux, Mono/.Net: 5.10.0.140 (tarball Sat Feb 24 15:30:44 UTC 2018); Framework: v4.0.30319
. 2020.04.26 00:05:23 - Command line arguments (4): path="/opt/eddie-cli/" profile="AirVPN_Europe_UDP-443.ovpn" login="foo" password="bar"
. 2020.04.26 00:05:23 - Raise system privileges
. 2020.04.26 00:05:25 - Profile path: /opt/eddie-cli//AirVPN_Europe_UDP-443.ovpn.profile
. 2020.04.26 00:05:25 - Reading options from /opt/eddie-cli//AirVPN_Europe_UDP-443.ovpn.profile
. 2020.04.26 00:05:26 - Tun Driver - /dev/net/tun
. 2020.04.26 00:05:26 - OpenVPN - Version: 2.4.8 - OpenSSL 1.1.0l  10 Sep 2019, LZO 2.10 (/opt/eddie-cli/bundle/openvpn)
. 2020.04.26 00:05:26 - SSH - Version: OpenSSH_7.4p1, OpenSSL 1.0.2s  28 May 2019 (/usr/bin/ssh)
. 2020.04.26 00:05:26 - SSL - Version: stunnel 5.40 (/opt/eddie-cli/bundle/stunnel)
. 2020.04.26 00:05:26 - curl - Version: 7.65.3 (/usr/bin/curl)
I 2020.04.26 00:05:26 - Press 'X' to Cancel, 'N' to connect/reconnect to the best available server.
I 2020.04.26 00:05:26 - Use -connect to start connection when application starts
I 2020.04.26 00:05:26 - Ready
I 2020.04.26 00:05:26 - Checking login ...
! 2020.04.26 00:05:26 - Logged in.
. 2020.04.26 00:05:27 - Collect information about AirVPN completed
nI 2020.04.26 00:06:39 - Server switch requested from keyboard.
I 2020.04.26 00:06:39 - Session starting.
I 2020.04.26 00:06:39 - Checking authorization ...
! 2020.04.26 00:06:39 - Connecting to Muscida (Netherlands, Alblasserdam)
. 2020.04.26 00:06:39 - OpenVPN > OpenVPN 2.4.8 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Nov 22 2019
. 2020.04.26 00:06:39 - OpenVPN > library versions: OpenSSL 1.1.0l  10 Sep 2019, LZO 2.10
. 2020.04.26 00:06:39 - OpenVPN > Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
. 2020.04.26 00:06:39 - OpenVPN > Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
. 2020.04.26 00:06:39 - OpenVPN > Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
. 2020.04.26 00:06:39 - OpenVPN > Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
. 2020.04.26 00:06:39 - OpenVPN > TCP/UDP: Preserving recently used remote address: [AF_INET]213.152.162.156:443
. 2020.04.26 00:06:39 - OpenVPN > Socket Buffers: R=[212992->212992] S=[212992->212992]
. 2020.04.26 00:06:39 - OpenVPN > UDP link local: (not bound)
. 2020.04.26 00:06:39 - OpenVPN > UDP link remote: [AF_INET]213.152.162.156:443
. 2020.04.26 00:06:39 - OpenVPN > TLS: Initial packet from [AF_INET]213.152.162.156:443, sid=3deba43a 06c796bc
. 2020.04.26 00:06:39 - OpenVPN > VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
. 2020.04.26 00:06:39 - OpenVPN > VERIFY KU OK
. 2020.04.26 00:06:39 - OpenVPN > Validating certificate extended key usage
. 2020.04.26 00:06:39 - OpenVPN > ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
. 2020.04.26 00:06:39 - OpenVPN > VERIFY EKU OK
. 2020.04.26 00:06:39 - OpenVPN > VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=Muscida, emailAddress=info@airvpn.org
. 2020.04.26 00:06:40 - OpenVPN > Control Channel: TLSv1.2, cipher TLSv1.2 DHE-RSA-AES256-GCM-SHA384, 4096 bit RSA
. 2020.04.26 00:06:40 - OpenVPN > [Muscida] Peer Connection Initiated with [AF_INET]213.152.162.156:443
. 2020.04.26 00:06:41 - OpenVPN > SENT CONTROL [Muscida]: 'PUSH_REQUEST' (status=1)
. 2020.04.26 00:06:41 - OpenVPN > PUSH: Received control message: 'PUSH_REPLY,comp-lzo no,redirect-gateway ipv6 def1 bypass-dhcp,dhcp-option DNS 10.24.154.1,dhcp-option DNS6 fde6:7a:7d20:149a::1,tun-ipv6,route-gateway 10.24.154.1,topology subnet,ping 10,ping-restart 60,ifconfig-ipv6 fde6:7a:7d20:149a::10e5/64 fde6:7a:7d20:149a::1,ifconfig 10.24.154.231 255.255.255.0,peer-id 1,cipher AES-256-GCM'
. 2020.04.26 00:06:41 - OpenVPN > Pushed option removed by filter: 'redirect-gateway ipv6 def1 bypass-dhcp'
. 2020.04.26 00:06:41 - OpenVPN > OPTIONS IMPORT: timers and/or timeouts modified
. 2020.04.26 00:06:41 - OpenVPN > OPTIONS IMPORT: compression parms modified
. 2020.04.26 00:06:41 - OpenVPN > OPTIONS IMPORT: --ifconfig/up options modified
. 2020.04.26 00:06:41 - OpenVPN > OPTIONS IMPORT: route-related options modified
. 2020.04.26 00:06:41 - OpenVPN > OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
. 2020.04.26 00:06:41 - OpenVPN > OPTIONS IMPORT: peer-id set
. 2020.04.26 00:06:41 - OpenVPN > OPTIONS IMPORT: adjusting link_mtu to 1625
. 2020.04.26 00:06:41 - OpenVPN > OPTIONS IMPORT: data channel crypto options modified
. 2020.04.26 00:06:41 - OpenVPN > Data Channel: using negotiated cipher 'AES-256-GCM'
. 2020.04.26 00:06:41 - OpenVPN > Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
. 2020.04.26 00:06:41 - OpenVPN > Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
. 2020.04.26 00:06:41 - OpenVPN > ROUTE_GATEWAY 192.168.0.254/255.255.255.0 IFACE=eth0 HWADDR=14:da:e9:6a:6c:a4
. 2020.04.26 00:06:41 - OpenVPN > GDG6: remote_host_ipv6=n/a
. 2020.04.26 00:06:41 - OpenVPN > ROUTE6_GATEWAY fe80::e69e:12ff:fe83:7243 IFACE=eth0
W 2020.04.26 00:06:41 - Unexpected: Network interface unknown
. 2020.04.26 00:06:41 - OpenVPN > TUN/TAP TX queue length set to 100
. 2020.04.26 00:06:41 - OpenVPN > /bin/ip link set dev tun0 up mtu 1500
. 2020.04.26 00:06:41 - OpenVPN > Linux ip link set failed: could not execute external program
. 2020.04.26 00:06:41 - OpenVPN > Exiting due to fatal error
! 2020.04.26 00:06:41 - Disconnecting
. 2020.04.26 00:06:41 - Sending soft termination signal
. 2020.04.26 00:06:41 - Connection terminated.

The network interface is indeed "eth0" :
 
$ sudo /sbin/ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.4  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 fe80::16da:e9ff:fe6a:6ca4  prefixlen 64  scopeid 0x20<link>
        inet6 2a01:e0a:29:ef40:b4e9:29cc:f7d2:e065  prefixlen 64  scopeid 0x0<global>
        ether 14:da:e9:6a:6c:a4  txqueuelen 1000  (Ethernet)
        RX packets 22738636  bytes 18516607903 (17.2 GiB)
        RX errors 0  dropped 548  overruns 0  frame 0
        TX packets 13891088  bytes 1918511640 (1.7 GiB)
        TX errors 0  dropped 15 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 26243  bytes 2619761 (2.4 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 26243  bytes 2619761 (2.4 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


The profile has been generated from the AirVPN website :
 
client
dev tun
remote europe.vpn.airdns.org 443
resolv-retry infinite
nobind
persist-key
persist-tun
auth-nocache
route-delay 5
verb 3
explicit-exit-notify 5
push-peer-info
setenv UV_IPV6 yes
remote-cert-tls server
cipher AES-256-CBC
comp-lzo no
proto udp
key-direction 1
[+ca +key +tls-auth]


What's wrong ?

Edit : @giganerd (sorry to reply here but it seems I reached the maximum number of post per day, i.e. 1…) : thanks for the reply.  Actually I realized after posting that there were other clients available, and it seems to work with "openvpn" (I'm not sure I understand why "eddie-cli" requires login when "openvpn" works without login, but I guess it's another story…). Edited ... by berder

Share this post


Link to post
Posted ... (edited)
Do you have IPv6 connectivity?
Ah, forget it, it's late.

Now it'd be very nice to have something like a support file, but I don't see an option to generate one from the command line. advanced.expert comes closest to it, it seems to enable verbose logging. Not sure if it's really that. Anyway, I'd disable IPv6 and see if it can connect without it. Edited ... by giganerd
I've not read ifconfig outputs for quite some time now, it seems, so I overlooked the v6 info in there :)

NOT AN AIRVPN TEAM MEMBER. USE TICKETS FOR PROFESSIONAL SUPPORT.

LZ1's New User Guide to AirVPN « Plenty of stuff for advanced users, too!

Want to contact me directly? All relevant methods are on my About me page.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Security Check
    Play CAPTCHA Audio
    Refresh Image

×
×
  • Create New...