Jump to content
Not connected, Your IP: 18.218.218.230
Sign in to follow this  
X619d7

cant connect to vpn server

Recommended Posts

Hello,

I am using arch linux, airvpn mono.

I have problem with connecting to vpn servers.

 

log from terminal :

 

WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
I 2016.06.11 20:09:23 - AirVPN client version: 2.10.2 / x64, System: Linux, Name: Arch Linux \r (\l) / x64
. 2016.06.11 20:09:23 - Reading options from /root/.airvpn/AirVPN.xml
. 2016.06.11 20:09:23 - Profile options not found, using defaults.
Could not set X locale modifiers
. 2016.06.11 20:09:24 - Data Path: /root/.airvpn
. 2016.06.11 20:09:24 - App Path: /usr/lib/AirVPN
. 2016.06.11 20:09:24 - Executable Path: /usr/lib/AirVPN/AirVPN.exe
. 2016.06.11 20:09:24 - Command line arguments (1): path="/root/.airvpn"
. 2016.06.11 20:09:24 - Updating systems & servers data ...
. 2016.06.11 20:09:24 - Operating System: Unix 4.6.2.1 - Linux myarchname 4.6.2-1-ARCH #1 SMP PREEMPT Wed Jun 8 08:40:59 CEST 2016 x86_64 GNU/Linux
I 2016.06.11 20:09:24 - OpenVPN Driver - Found, /dev/net/tun
I 2016.06.11 20:09:24 - OpenVPN - Version: OpenVPN 2.3.11 (/usr/bin/openvpn)
W 2016.06.11 20:09:24 - SSH - Not available
W 2016.06.11 20:09:24 - SSL - Not available
! 2016.06.11 20:09:24 - Ready
. 2016.06.11 20:09:24 - Systems & servers data update completed
I 2016.06.11 20:13:02 - Checking login ...
F 2016.06.11 20:13:02 - Wrong login/password.
I 2016.06.11 20:13:14 - Checking login ...
! 2016.06.11 20:13:15 - Logged in.
I 2016.06.11 20:13:26 - Session starting.
W 2016.06.11 20:13:26 - Unable to understand if IPV6 is active.
I 2016.06.11 20:13:26 - Checking authorization ...
! 2016.06.11 20:13:26 - Connecting to Virginis (Switzerland, Bern)
. 2016.06.11 20:13:26 - OpenVPN > OpenVPN 2.3.11 x86_64-unknown-linux-gnu [sSL (OpenSSL)] [LZO] [EPOLL] [MH] [iPv6] built on May 12 2016
. 2016.06.11 20:13:26 - OpenVPN > library versions: OpenSSL 1.0.2h  3 May 2016, LZO 2.09
. 2016.06.11 20:13:26 - OpenVPN > MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:3100
. 2016.06.11 20:13:26 - OpenVPN > Control Channel Authentication: tls-auth using INLINE static key file
. 2016.06.11 20:13:26 - OpenVPN > Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2016.06.11 20:13:26 - OpenVPN > Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2016.06.11 20:13:26 - OpenVPN > Socket Buffers: R=[212992->262144] S=[212992->262144]
. 2016.06.11 20:13:26 - OpenVPN > UDPv4 link local: [undef]
. 2016.06.11 20:13:26 - OpenVPN > UDPv4 link remote: [AF_INET]46.19.137.114:443
. 2016.06.11 20:13:26 - OpenVPN > TLS: Initial packet from [AF_INET]46.19.137.114:443, sid=5e03fb93 b1b0ba79
. 2016.06.11 20:13:26 - OpenVPN > VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
. 2016.06.11 20:13:26 - OpenVPN > Validating certificate key usage
. 2016.06.11 20:13:26 - OpenVPN > ++ Certificate has key usage  00a0, expects 00a0
. 2016.06.11 20:13:26 - OpenVPN > VERIFY KU OK
. 2016.06.11 20:13:26 - OpenVPN > Validating certificate extended key usage
. 2016.06.11 20:13:26 - OpenVPN > ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
. 2016.06.11 20:13:26 - OpenVPN > VERIFY EKU OK
. 2016.06.11 20:13:26 - OpenVPN > VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=server, emailAddress=info@airvpn.org
. 2016.06.11 20:13:26 - OpenVPN > Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2016.06.11 20:13:26 - OpenVPN > Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2016.06.11 20:13:26 - OpenVPN > Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2016.06.11 20:13:26 - OpenVPN > Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2016.06.11 20:13:26 - OpenVPN > Control Channel: TLSv1.2, cipher TLSv1/SSLv3 DHE-RSA-AES256-GCM-SHA384, 4096 bit RSA
. 2016.06.11 20:13:26 - OpenVPN > [server] Peer Connection Initiated with [AF_INET]46.19.137.114:443
. 2016.06.11 20:13:28 - OpenVPN > SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
. 2016.06.11 20:13:28 - 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.30.173 255.255.0.0'
. 2016.06.11 20:13:28 - OpenVPN > OPTIONS IMPORT: timers and/or timeouts modified
. 2016.06.11 20:13:28 - OpenVPN > OPTIONS IMPORT: LZO parms modified
. 2016.06.11 20:13:28 - OpenVPN > OPTIONS IMPORT: --ifconfig/up options modified
. 2016.06.11 20:13:28 - OpenVPN > OPTIONS IMPORT: route options modified
. 2016.06.11 20:13:28 - OpenVPN > OPTIONS IMPORT: route-related options modified
. 2016.06.11 20:13:28 - OpenVPN > OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
. 2016.06.11 20:13:28 - OpenVPN > ROUTE_GATEWAY 192.168.36.254/255.255.255.0 IFACE=enp5s0 HWADDR=d8:cb:8a:3c:35:d9
. 2016.06.11 20:13:28 - OpenVPN > TUN/TAP device tun0 opened
. 2016.06.11 20:13:28 - OpenVPN > TUN/TAP TX queue length set to 100
. 2016.06.11 20:13:28 - OpenVPN > do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
. 2016.06.11 20:13:28 - OpenVPN > /usr/bin/ip link set dev tun0 up mtu 1500
. 2016.06.11 20:13:28 - OpenVPN > /usr/bin/ip addr add dev tun0 10.4.30.173/16 broadcast 10.4.255.255
. 2016.06.11 20:13:34 - OpenVPN > /usr/bin/ip route add 46.19.137.114/32 via 192.168.36.254
. 2016.06.11 20:13:34 - OpenVPN > /usr/bin/ip route add 0.0.0.0/1 via 10.4.0.1
. 2016.06.11 20:13:34 - OpenVPN > /usr/bin/ip route add 128.0.0.0/1 via 10.4.0.1
. 2016.06.11 20:13:34 - Starting Management Interface
. 2016.06.11 20:13:34 - OpenVPN > Initialization Sequence Completed
I 2016.06.11 20:13:34 - /etc/resolv.conf renamed to /etc/resolv.conf.airvpn as backup
I 2016.06.11 20:13:34 - DNS of the system updated to VPN DNS (Rename method: /etc/resolv.conf generated)
I 2016.06.11 20:13:34 - Flushing DNS
I 2016.06.11 20:13:34 - Checking route
W 2016.06.11 20:15:04 - The request timed out
! 2016.06.11 20:15:04 - Disconnecting
-----

Cant you help me please ?

Share this post


Link to post

Your connection log seems to be fine. The only issue is when the client cannot check the route, but that is not critical.

Can you post your ifconfig and routing table? (ifconfig and route -n commands)

 

Also, if you can run OpenVPN from the command line and see if that helps - will make it more clear if this is a client or ISP

issue. Arch is not officially supported, but since it's the favorite distro of many members here, including me, you can probably

get help if we can narrow down your issue.


Occasional moderator, sometimes BOFH. Opinions are my own, except when my wife disagrees.

Share this post


Link to post

ifconfig :

enp5s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.36.145  netmask 255.255.255.0  broadcast 192.168.36.255
        inet6 fe80::91b2:fb12:f6a0:a1b3  prefixlen 64  scopeid 0x20<link>
        ether d8:cb:8a:3c:35:d9  txqueuelen 1000  (Ethernet)
        RX packets 2165  bytes 2356168 (2.2 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1580  bytes 227765 (222.4 KiB)
        TX errors 0  dropped 0 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 14  bytes 980 (980.0
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 14  bytes 980 (980.0
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
 

route -n

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.36.254  0.0.0.0         UG    202    0        0 enp5s0
192.168.36.0    0.0.0.0         255.255.255.0   U     202    0        0 enp5s0
 

When I tried openvpn i cant connect to internet.

Share this post


Link to post

now i tried in setting disable - check if the tunnel effectively works - .

i connected to vpn but its disconnect me after checking  DNS.

 

 2016.06.12 06:45:14 - Checking DNS
W 2016.06.12 06:46:24 - The request timed out
! 2016.06.12 06:46:25 - Disconnecting
 

Share this post


Link to post

I noticed the same. Eventually the client does connect after several tries. Maybe the timeout is too short? BTW, also on Arch with the mono client.

Share this post


Link to post

I found a workaround disabling the option "check if the tunnel uses AirVPN DNS".

But i have to wait 5 to 20 seconds before having a working connection after being connected to the server.

So, i think that there is something which block the connection to the DNS, and cause the timeout when the AirVPN client is trying to know if the connection is working.

Maybe it can help devs to post a fix.

Share this post


Link to post

Any update dev's ????

For a premium service, we need some information about how to fix it for good !!

Share this post


Link to post

Usually I restart the client and it connects a bit quicker then

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
Sign in to follow this  

×
×
  • Create New...