Jump to content
Not connected, Your IP: 3.15.2.239
devidd55

Cant connect to any server, always restarting

Recommended Posts

Hello,

 

I am using Eddie to connect to AirVPN but it is always failing. I am by no means an advanced techie to understand how to fix the problem, so if you could help me it would be much appreciated.

 

Here the logs of one failed attempt:

 

I 2016.12.31 10:11:47 - Session starting.
. 2016.12.31 10:11:47 - Unable to understand if IPv6 is active.
I 2016.12.31 10:11:47 - Checking authorization ...
! 2016.12.31 10:11:47 - Connecting to Salm (Netherlands, Alblasserdam)
. 2016.12.31 10:11:47 - OpenVPN > OpenVPN 2.4.0 x86_64-unknown-linux-gnu [sSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 28 2016
. 2016.12.31 10:11:47 - OpenVPN > library versions: OpenSSL 1.0.2j  26 Sep 2016, LZO 2.09
. 2016.12.31 10:11:47 - OpenVPN > setsockopt(IPV6_V6ONLY=0)
. 2016.12.31 10:11:47 - OpenVPN > MANAGEMENT: TCP Socket listening on [AF_INET6]::1:3100
. 2016.12.31 10:11:47 - OpenVPN > Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2016.12.31 10:11:47 - OpenVPN > Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2016.12.31 10:11:47 - OpenVPN > TCP/UDP: Preserving recently used remote address: [AF_INET]213.152.161.19:443
. 2016.12.31 10:11:47 - OpenVPN > Socket Buffers: R=[212992->212992] S=[212992->212992]
. 2016.12.31 10:11:47 - OpenVPN > UDP link local: (not bound)
. 2016.12.31 10:11:47 - OpenVPN > UDP link remote: [AF_INET]213.152.161.19:443
. 2016.12.31 10:11:47 - OpenVPN > TLS: Initial packet from [AF_INET]213.152.161.19:443, sid=39fa427f e2fe58a1
. 2016.12.31 10:11:47 - OpenVPN > VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
. 2016.12.31 10:11:47 - OpenVPN > Validating certificate key usage
. 2016.12.31 10:11:47 - OpenVPN > ++ Certificate has key usage  00a0, expects 00a0
. 2016.12.31 10:11:47 - OpenVPN > VERIFY KU OK
. 2016.12.31 10:11:47 - OpenVPN > Validating certificate extended key usage
. 2016.12.31 10:11:47 - OpenVPN > ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
. 2016.12.31 10:11:47 - OpenVPN > VERIFY EKU OK
. 2016.12.31 10:11:47 - OpenVPN > VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=server, emailAddress=info@airvpn.org
. 2016.12.31 10:11:47 - OpenVPN > Control Channel: TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-GCM-SHA384, 4096 bit RSA
. 2016.12.31 10:11:47 - OpenVPN > [server] Peer Connection Initiated with [AF_INET]213.152.161.19:443
. 2016.12.31 10:11:49 - OpenVPN > SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
. 2016.12.31 10:11:49 - OpenVPN > PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 10.4.0.1,comp-lzo no,route-gateway 10.4.0.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.4.93.1 255.255.0.0'
. 2016.12.31 10:11:49 - OpenVPN > OPTIONS IMPORT: timers and/or timeouts modified
. 2016.12.31 10:11:49 - OpenVPN > OPTIONS IMPORT: compression parms modified
. 2016.12.31 10:11:49 - OpenVPN > OPTIONS IMPORT: --ifconfig/up options modified
. 2016.12.31 10:11:49 - OpenVPN > OPTIONS IMPORT: route options modified
. 2016.12.31 10:11:49 - OpenVPN > OPTIONS IMPORT: route-related options modified
. 2016.12.31 10:11:49 - OpenVPN > OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
. 2016.12.31 10:11:49 - OpenVPN > Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2016.12.31 10:11:49 - OpenVPN > Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2016.12.31 10:11:49 - OpenVPN > Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2016.12.31 10:11:49 - OpenVPN > Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2016.12.31 10:11:49 - OpenVPN > ROUTE_GATEWAY 192.168.2.1/255.255.255.0 IFACE=wlo1 HWADDR=1c:3e:84:a6:a2:d9
. 2016.12.31 10:11:49 - OpenVPN > TUN/TAP device tun0 opened
. 2016.12.31 10:11:49 - OpenVPN > TUN/TAP TX queue length set to 100
. 2016.12.31 10:11:49 - OpenVPN > do_ifconfig, tt->did_ifconfig_ipv6_setup=0
. 2016.12.31 10:11:49 - OpenVPN > /usr/bin/ip link set dev tun0 up mtu 1500
. 2016.12.31 10:11:49 - OpenVPN > /usr/bin/ip addr add dev tun0 10.4.93.1/16 broadcast 10.4.255.255
. 2016.12.31 10:11:54 - OpenVPN > /usr/bin/ip route add 213.152.161.19/32 via 192.168.2.1
. 2016.12.31 10:11:54 - OpenVPN > ERROR: Linux route add command failed: external program exited with error status: 2
. 2016.12.31 10:11:54 - OpenVPN > /usr/bin/ip route add 0.0.0.0/1 via 10.4.0.1
. 2016.12.31 10:11:54 - OpenVPN > RTNETLINK answers: File exists
. 2016.12.31 10:11:54 - OpenVPN > /usr/bin/ip route add 128.0.0.0/1 via 10.4.0.1
. 2016.12.31 10:11:54 - Starting Management Interface
W 2016.12.31 10:11:54 - Connection refused
! 2016.12.31 10:11:54 - Disconnecting
. 2016.12.31 10:11:54 - Connection terminated.
I 2016.12.31 10:11:56 - Cancel requested.
! 2016.12.31 10:11:56 - Session terminated.
 

I am guessing the problem is at "RTNETLINK answers..."

If this help (sorry if it is completely unrelated) i have a Ralink Adapter RT3290 which is a nightmare in linux , with many users having auto-wake problems after shutdown, since there are no supported drivers specifically for it anymore, and by default rt2800pci is used (which works quite well, except for the auto-wake problem and the fact that i cant login to my university's eduroam wifi). So here are my 2 cents.

Share this post


Link to post

Thank you!

 

It seems the problem was with Eddie. I would like to add here for the other users, that i am using Arch Linux. I had installed the airvpn-git from AUR and that is why it was not working. I am using airvpn-beta-bin now.

 

It fixed the problem above, but a new problem emerged: it started showing "DNS checking failed". A quick search sent me to this article https://airvpn.org/topic/13641-airvpn-linux-client-unable-to-connect-dns-checking-failed/ and after unchecking "Advanced -> Check if tunnel use AirVPN DNS" i could connect. I also switched to DNS Switch Mode to "Renaming", because i was getting DNS leaks when checking with https://ipleak.net/ too.

 

I want to ask the Staff, how come that i was getting DNS leaks, even though i am on Linux???

 

Last concern i have, partly because of the DNS leaks mentioned above, is if i should make other tweaks to ensure full functionality, or if i should just dump Eddie and connect via Network Manager. I dont know if the steps i took are enough to fix these "loopholes" in Eddie.

 

Thank you for the quick response and wish you well for the new year

Share this post


Link to post

Ok, it seems i was wrong. No matter which DNS Switch Mode i used, my IPv6 will leak on this site http://whatismyipaddress.com/

 

Another funny fact is, when i choose "Automatic" as DNS Switch Mode, my IPv6 won't leak only as according to ipv6leak.com/

When i choose "Renaming" my IPv6 won't leak only as according to https://www.iplocation.net/find-ip-address

 

This is making me even more confused..

Share this post


Link to post

Hello!

 

Just turn off IPv6. Support for it is planned for 2017 .

 

Staff has said there's no DNS leaks on Linux. If you use Network Lock, then that's definitely ensured.

 

Do check ipleak.net as well.

 

Welcome to AirVPN and happy new year !


Moderators do not speak on behalf of AirVPN. Only the Official Staff account does. Please also do not run Tor Exit Servers behind AirVPN, thank you.
Did you make a guide or how-to for something? Then contact me to get it listed in my new user guide's Guides Section, so that the community can find it more easily.

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...