Jump to content
Not connected, Your IP: 3.139.234.68

Recommended Posts

I have to connect to a super unsecure server using PPTP in order to get access to Internet. As far as I see, AirVPN client cannot connect over this VPN connection. I use AirVPN's "OpenVPN over SSL" to workaround DPI-based blockage of OpenVPN connections.

 

Do you know of any solutions?

 

Here's the log of one failed try:

 

 

I 2015.04.11 09:40:16 - Session starting.
I 2015.04.11 09:40:16 - Installing tunnel driver
I 2015.04.11 09:40:17 - Checking authorization ...
! 2015.04.11 09:40:18 - Connecting to Velorum (Germany, Frankfurt)
I 2015.04.11 09:40:19 - DNS of the system will be updated to VPN DNS (ResolvConf method)
. 2015.04.11 09:40:20 - SSL > stunnel 4.42 on x86_64-pc-linux-gnu platform
. 2015.04.11 09:40:20 - SSL > Compiled/running with OpenSSL 1.0.1 14 Mar 2012
. 2015.04.11 09:40:20 - SSL > Threading:PTHREAD SSL:ENGINE Auth:LIBWRAP Sockets:POLL,IPv6
. 2015.04.11 09:40:20 - SSL > Reading configuration from file /home/sepehr/.airvpn/78f40a14f4b4b850b963c3601eea67a965f9e4090ec8e31e6cb9d986a893af8f.tmp.ssl
. 2015.04.11 09:40:20 - SSL > Initializing SSL context for service openvpn
. 2015.04.11 09:40:20 - SSL > SSL context initialized
. 2015.04.11 09:40:20 - SSL > Configuration successful
. 2015.04.11 09:40:20 - OpenVPN > OpenVPN 2.3.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on May  2 2014
. 2015.04.11 09:40:20 - OpenVPN > library versions: OpenSSL 1.0.1 14 Mar 2012, LZO 2.06
. 2015.04.11 09:40:20 - OpenVPN > MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:3100
. 2015.04.11 09:40:20 - OpenVPN > NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
. 2015.04.11 09:40:20 - OpenVPN > Control Channel Authentication: tls-auth using INLINE static key file
. 2015.04.11 09:40:20 - OpenVPN > Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2015.04.11 09:40:20 - OpenVPN > Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2015.04.11 09:40:20 - OpenVPN > Socket Buffers: R=[87380->131072] S=[16384->131072]
. 2015.04.11 09:40:20 - OpenVPN > Attempting to establish TCP connection with [AF_INET]127.0.0.1:30235 [nonblock]
. 2015.04.11 09:40:20 - OpenVPN > TCP connection established with [AF_INET]127.0.0.1:30235
. 2015.04.11 09:40:20 - OpenVPN > TCPv4_CLIENT link local: [undef]
. 2015.04.11 09:40:20 - OpenVPN > TCPv4_CLIENT link remote: [AF_INET]127.0.0.1:30235
. 2015.04.11 09:40:20 - SSL > Service openvpn accepted connection from 127.0.0.1:34184
. 2015.04.11 09:40:20 - SSL > connect_blocking: connecting 46.165.208.110:443
. 2015.04.11 09:40:20 - SSL > connect_blocking: connected 46.165.208.110:443
. 2015.04.11 09:40:20 - SSL > Service openvpn connected remote server from 172.32.32.92:39113
. 2015.04.11 09:40:21 - SSL > SSL connected: new session negotiated
. 2015.04.11 09:40:21 - SSL > Negotiated ciphers: ECDHE-RSA-RC4-SHA SSLv3 Kx=ECDH Au=RSA Enc=RC4(128) Mac=SHA1
. 2015.04.11 09:40:21 - OpenVPN > TLS: Initial packet from [AF_INET]127.0.0.1:30235, sid=7183ae47 0ad3fde0
. 2015.04.11 09:40:22 - OpenVPN > VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
. 2015.04.11 09:40:22 - OpenVPN > Validating certificate key usage
. 2015.04.11 09:40:22 - OpenVPN > ++ Certificate has key usage  00a0, expects 00a0
. 2015.04.11 09:40:22 - OpenVPN > VERIFY KU OK
. 2015.04.11 09:40:22 - OpenVPN > Validating certificate extended key usage
. 2015.04.11 09:40:22 - OpenVPN > ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
. 2015.04.11 09:40:22 - OpenVPN > VERIFY EKU OK
. 2015.04.11 09:40:22 - OpenVPN > VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=server, emailAddress=info@airvpn.org
. 2015.04.11 09:40:23 - OpenVPN > Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2015.04.11 09:40:23 - OpenVPN > Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2015.04.11 09:40:23 - OpenVPN > Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2015.04.11 09:40:23 - OpenVPN > Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2015.04.11 09:40:23 - OpenVPN > Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 4096 bit RSA
. 2015.04.11 09:40:23 - OpenVPN > [server] Peer Connection Initiated with [AF_INET]127.0.0.1:30235
. 2015.04.11 09:40:26 - OpenVPN > SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
. 2015.04.11 09:40:26 - OpenVPN > PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 10.50.0.1,comp-lzo no,route-gateway 10.50.0.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.50.0.56 255.255.0.0'
. 2015.04.11 09:40:26 - OpenVPN > OPTIONS IMPORT: timers and/or timeouts modified
. 2015.04.11 09:40:26 - OpenVPN > OPTIONS IMPORT: LZO parms modified
. 2015.04.11 09:40:26 - OpenVPN > OPTIONS IMPORT: --ifconfig/up options modified
. 2015.04.11 09:40:26 - OpenVPN > OPTIONS IMPORT: route options modified
. 2015.04.11 09:40:26 - OpenVPN > OPTIONS IMPORT: route-related options modified
. 2015.04.11 09:40:26 - OpenVPN > OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
. 2015.04.11 09:40:26 - OpenVPN > TUN/TAP device tun1 opened
. 2015.04.11 09:40:26 - OpenVPN > TUN/TAP TX queue length set to 100
. 2015.04.11 09:40:26 - OpenVPN > do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
. 2015.04.11 09:40:26 - OpenVPN > /sbin/ifconfig tun1 10.50.0.56 netmask 255.255.0.0 mtu 1500 broadcast 10.50.255.255
. 2015.04.11 09:40:26 - OpenVPN > /usr/lib/AirVPN/update-resolv-conf tun1 1500 1560 10.50.0.56 255.255.0.0 init
. 2015.04.11 09:40:26 - OpenVPN > dhcp-option DNS 10.50.0.1
. 2015.04.11 09:40:38 - OpenVPN > /sbin/route add -net 127.0.0.1 netmask 255.255.255.255 dev ppp0
. 2015.04.11 09:40:38 - OpenVPN > /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 10.50.0.1
. 2015.04.11 09:40:38 - OpenVPN > /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 10.50.0.1
. 2015.04.11 09:40:38 - OpenVPN > /sbin/route add -net 46.165.208.110 netmask 255.255.255.255 gw 0.0.0.0
. 2015.04.11 09:40:38 - OpenVPN > SIOCADDRT: Invalid argument
. 2015.04.11 09:40:38 - OpenVPN > ERROR: Linux route add command failed: external program exited with error status: 7
. 2015.04.11 09:40:38 - Starting Management Interface
. 2015.04.11 09:40:38 - OpenVPN > Initialization Sequence Completed
I 2015.04.11 09:40:38 - Flushing DNS
I 2015.04.11 09:40:38 - Checking route
W 2015.04.11 09:40:48 - Checking route, 1° try failed (The request timed out)
W 2015.04.11 09:40:58 - Checking route, 2° try failed (The request timed out)
W 2015.04.11 09:41:08 - Checking route, 3° try failed (The request timed out)
W 2015.04.11 09:41:18 - Checking route, 4° try failed (The request timed out)
W 2015.04.11 09:41:28 - Checking route, 5° try failed (The request timed out)
W 2015.04.11 09:41:28 - The request timed out
! 2015.04.11 09:41:28 - Disconnecting
. 2015.04.11 09:41:28 - Management - Send 'signal SIGTERM'
. 2015.04.11 09:41:28 - OpenVpn Management > >INFO:OpenVPN Management Interface Version 1 -- type 'help' for more info
. 2015.04.11 09:41:28 - OpenVPN > MANAGEMENT: CMD 'signal SIGTERM'
. 2015.04.11 09:41:28 - OpenVPN > /sbin/route del -net 127.0.0.1 netmask 255.255.255.255
. 2015.04.11 09:41:28 - OpenVPN > /sbin/route del -net 0.0.0.0 netmask 128.0.0.0
. 2015.04.11 09:41:28 - OpenVPN > /sbin/route del -net 128.0.0.0 netmask 128.0.0.0
. 2015.04.11 09:41:28 - OpenVPN > Closing TUN/TAP interface
. 2015.04.11 09:41:28 - OpenVPN > /sbin/ifconfig tun1 0.0.0.0
. 2015.04.11 09:41:29 - OpenVPN > /usr/lib/AirVPN/update-resolv-conf tun1 1500 1560 10.50.0.56 255.255.0.0 init
. 2015.04.11 09:41:30 - OpenVPN > SIGTERM[hard,] received, process exiting
. 2015.04.11 09:41:30 - Connection terminated.
I 2015.04.11 09:41:33 - Checking authorization ...
! 2015.04.11 09:41:33 - Connecting to Tauri (Germany, Frankfurt)
I 2015.04.11 09:41:33 - DNS of the system will be updated to VPN DNS (ResolvConf method)
. 2015.04.11 09:41:33 - SSL > stunnel 4.42 on x86_64-pc-linux-gnu platform
. 2015.04.11 09:41:33 - SSL > Compiled/running with OpenSSL 1.0.1 14 Mar 2012
. 2015.04.11 09:41:33 - SSL > Threading:PTHREAD SSL:ENGINE Auth:LIBWRAP Sockets:POLL,IPv6
. 2015.04.11 09:41:33 - SSL > Reading configuration from file /home/sepehr/.airvpn/5809ebcd14f7b09401d9b0e346f0d2682b0aa9912510aabb5cc3c0f60d87ae38.tmp.ssl
. 2015.04.11 09:41:33 - SSL > Initializing SSL context for service openvpn
. 2015.04.11 09:41:33 - SSL > SSL context initialized
. 2015.04.11 09:41:33 - SSL > Configuration successful
. 2015.04.11 09:41:34 - OpenVPN > OpenVPN 2.3.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on May  2 2014
. 2015.04.11 09:41:34 - OpenVPN > library versions: OpenSSL 1.0.1 14 Mar 2012, LZO 2.06
. 2015.04.11 09:41:34 - SSL > Service openvpn accepted connection from 127.0.0.1:33803
. 2015.04.11 09:41:34 - SSL > connect_blocking: connecting 46.165.208.106:443
. 2015.04.11 09:41:34 - OpenVPN > MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:3100
. 2015.04.11 09:41:34 - OpenVPN > NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
. 2015.04.11 09:41:34 - OpenVPN > Control Channel Authentication: tls-auth using INLINE static key file
. 2015.04.11 09:41:34 - OpenVPN > Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2015.04.11 09:41:34 - OpenVPN > Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2015.04.11 09:41:34 - OpenVPN > Socket Buffers: R=[87380->131072] S=[16384->131072]
. 2015.04.11 09:41:34 - OpenVPN > Attempting to establish TCP connection with [AF_INET]127.0.0.1:38874 [nonblock]
. 2015.04.11 09:41:34 - OpenVPN > TCP connection established with [AF_INET]127.0.0.1:38874
. 2015.04.11 09:41:34 - OpenVPN > TCPv4_CLIENT link local: [undef]
. 2015.04.11 09:41:34 - OpenVPN > TCPv4_CLIENT link remote: [AF_INET]127.0.0.1:38874
. 2015.04.11 09:41:34 - SSL > connect_blocking: connected 46.165.208.106:443
. 2015.04.11 09:41:34 - SSL > Service openvpn connected remote server from 172.32.32.92:49565
. 2015.04.11 09:41:34 - SSL > SSL connected: new session negotiated
. 2015.04.11 09:41:34 - SSL > Negotiated ciphers: ECDHE-RSA-RC4-SHA SSLv3 Kx=ECDH Au=RSA Enc=RC4(128) Mac=SHA1
. 2015.04.11 09:41:34 - OpenVPN > TLS: Initial packet from [AF_INET]127.0.0.1:38874, sid=c17189ec 1fbe1e3e
. 2015.04.11 09:41:35 - OpenVPN > VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
. 2015.04.11 09:41:35 - OpenVPN > Validating certificate key usage
. 2015.04.11 09:41:35 - OpenVPN > ++ Certificate has key usage  00a0, expects 00a0
. 2015.04.11 09:41:35 - OpenVPN > VERIFY KU OK
. 2015.04.11 09:41:35 - OpenVPN > Validating certificate extended key usage
. 2015.04.11 09:41:35 - OpenVPN > ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
. 2015.04.11 09:41:35 - OpenVPN > VERIFY EKU OK
. 2015.04.11 09:41:35 - OpenVPN > VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=server, emailAddress=info@airvpn.org
. 2015.04.11 09:41:36 - OpenVPN > Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2015.04.11 09:41:36 - OpenVPN > Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2015.04.11 09:41:36 - OpenVPN > Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2015.04.11 09:41:36 - OpenVPN > Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2015.04.11 09:41:36 - OpenVPN > Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 4096 bit RSA
. 2015.04.11 09:41:36 - OpenVPN > [server] Peer Connection Initiated with [AF_INET]127.0.0.1:38874
. 2015.04.11 09:41:38 - OpenVPN > SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
. 2015.04.11 09:41:39 - OpenVPN > PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 10.50.0.1,comp-lzo no,route-gateway 10.50.0.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.50.0.60 255.255.0.0'
. 2015.04.11 09:41:39 - OpenVPN > OPTIONS IMPORT: timers and/or timeouts modified
. 2015.04.11 09:41:39 - OpenVPN > OPTIONS IMPORT: LZO parms modified
. 2015.04.11 09:41:39 - OpenVPN > OPTIONS IMPORT: --ifconfig/up options modified
. 2015.04.11 09:41:39 - OpenVPN > OPTIONS IMPORT: route options modified
. 2015.04.11 09:41:39 - OpenVPN > OPTIONS IMPORT: route-related options modified
. 2015.04.11 09:41:39 - OpenVPN > OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
. 2015.04.11 09:41:39 - OpenVPN > TUN/TAP device tun1 opened
. 2015.04.11 09:41:39 - OpenVPN > TUN/TAP TX queue length set to 100
. 2015.04.11 09:41:39 - OpenVPN > do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
. 2015.04.11 09:41:39 - OpenVPN > /sbin/ifconfig tun1 10.50.0.60 netmask 255.255.0.0 mtu 1500 broadcast 10.50.255.255
. 2015.04.11 09:41:39 - OpenVPN > /usr/lib/AirVPN/update-resolv-conf tun1 1500 1560 10.50.0.60 255.255.0.0 init
. 2015.04.11 09:41:39 - OpenVPN > dhcp-option DNS 10.50.0.1
. 2015.04.11 09:41:52 - OpenVPN > /sbin/route add -net 127.0.0.1 netmask 255.255.255.255 dev ppp0
. 2015.04.11 09:41:52 - OpenVPN > /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 10.50.0.1
. 2015.04.11 09:41:52 - OpenVPN > /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 10.50.0.1
. 2015.04.11 09:41:52 - OpenVPN > /sbin/route add -net 46.165.208.106 netmask 255.255.255.255 gw 0.0.0.0
. 2015.04.11 09:41:52 - OpenVPN > ERROR: Linux route add command failed: external program exited with error status: 7
. 2015.04.11 09:41:52 - Starting Management Interface
. 2015.04.11 09:41:52 - OpenVPN > Initialization Sequence Completed
. 2015.04.11 09:41:52 - OpenVPN > SIOCADDRT: Invalid argument
I 2015.04.11 09:41:52 - Flushing DNS
I 2015.04.11 09:41:52 - Checking route
W 2015.04.11 09:42:02 - Checking route, 1° try failed (The request timed out)
W 2015.04.11 09:42:12 - Checking route, 2° try failed (The request timed out)
W 2015.04.11 09:42:22 - Checking route, 3° try failed (The request timed out)
W 2015.04.11 09:42:32 - Checking route, 4° try failed (The request timed out)

 

 

 

Share this post


Link to post

I understand route check failures will cause the Eddie client to abort the connection.

 

try disabling route checking and then test the connection.  it may actually be working.

Share this post


Link to post
. 2015.04.11 09:40:38 - OpenVPN > /sbin/route add -net 127.0.0.1 netmask 255.255.255.255 dev ppp0
. 2015.04.11 09:40:38 - OpenVPN > /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 10.50.0.1
. 2015.04.11 09:40:38 - OpenVPN > /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 10.50.0.1
. 2015.04.11 09:40:38 - OpenVPN > /sbin/route add -net 46.165.208.110 netmask 255.255.255.255 gw 0.0.0.0
. 2015.04.11 09:40:38 - OpenVPN > SIOCADDRT: Invalid argument
. 2015.04.11 09:40:38 - OpenVPN > ERROR: Linux route add command failed: external program exited with error status: 7

 

@sepehrlajevardi,

 

Were you able to get this resolved? It looks like the last route was not added.

 

. 2015.04.11 09:40:38 - OpenVPN > /sbin/route add -net 46.165.208.110 netmask 255.255.255.255 gw 0.0.0.0
. 2015.04.11 09:40:38 - OpenVPN > SIOCADDRT: Invalid argument
. 2015.04.11 09:40:38 - OpenVPN > ERROR: Linux route add command failed: external program exited with error status: 7

 

I would have thought it would add gw dev ppp0.

 

/sbin/route add -net 46.165.208.110 netmask 255.255.255.255 gw dev ppp0

Share this post


Link to post

I disabled the route check as suggested. Now eddie says that it's connected but does not actually work. The route set failure is still there. Here's the log with route check disabled:

 

 

. 2015.04.22 08:26:00 - Updating systems & servers data ..., 1° try failed (The request timed out)
. 2015.04.22 08:26:01 - Systems & servers data update completed
I 2015.04.22 08:26:15 - Session starting.
I 2015.04.22 08:26:15 - Installing tunnel driver
I 2015.04.22 08:26:16 - Checking authorization ...
! 2015.04.22 08:26:17 - Connecting to Wezen (Germany, Frankfurt)
I 2015.04.22 08:26:17 - DNS of the system will be updated to VPN DNS (ResolvConf method)
. 2015.04.22 08:26:17 - SSL > stunnel 4.42 on x86_64-pc-linux-gnu platform
. 2015.04.22 08:26:17 - SSL > Compiled/running with OpenSSL 1.0.1 14 Mar 2012
. 2015.04.22 08:26:17 - SSL > Threading:PTHREAD SSL:ENGINE Auth:LIBWRAP Sockets:POLL,IPv6
. 2015.04.22 08:26:17 - SSL > Reading configuration from file /home/sepehr/.airvpn/9bb850f7ebe8278d1f903c8e0a80d7e4c78fedf86c4675f324121ddb5cda00f9.tmp.ssl
. 2015.04.22 08:26:17 - SSL > Initializing SSL context for service openvpn
. 2015.04.22 08:26:17 - SSL > SSL context initialized
. 2015.04.22 08:26:17 - SSL > Configuration successful
. 2015.04.22 08:26:17 - OpenVPN > OpenVPN 2.3.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on May  2 2014
. 2015.04.22 08:26:17 - OpenVPN > library versions: OpenSSL 1.0.1 14 Mar 2012, LZO 2.06
. 2015.04.22 08:26:17 - OpenVPN > MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:3100
. 2015.04.22 08:26:17 - OpenVPN > NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
. 2015.04.22 08:26:17 - OpenVPN > Control Channel Authentication: tls-auth using INLINE static key file
. 2015.04.22 08:26:17 - OpenVPN > Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2015.04.22 08:26:17 - OpenVPN > Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2015.04.22 08:26:17 - OpenVPN > Socket Buffers: R=[87380->131072] S=[16384->131072]
. 2015.04.22 08:26:17 - OpenVPN > Attempting to establish TCP connection with [AF_INET]127.0.0.1:4873 [nonblock]
. 2015.04.22 08:26:17 - SSL > Service openvpn accepted connection from 127.0.0.1:57254
. 2015.04.22 08:26:17 - SSL > connect_blocking: connecting 178.162.198.112:443
. 2015.04.22 08:26:17 - OpenVPN > TCP connection established with [AF_INET]127.0.0.1:4873
. 2015.04.22 08:26:17 - OpenVPN > TCPv4_CLIENT link local: [undef]
. 2015.04.22 08:26:17 - OpenVPN > TCPv4_CLIENT link remote: [AF_INET]127.0.0.1:4873
. 2015.04.22 08:26:17 - SSL > connect_blocking: connected 178.162.198.112:443
. 2015.04.22 08:26:17 - SSL > Service openvpn connected remote server from 172.31.31.85:41086
. 2015.04.22 08:26:18 - SSL > SSL connected: new session negotiated
. 2015.04.22 08:26:18 - SSL > Negotiated ciphers: ECDHE-RSA-RC4-SHA SSLv3 Kx=ECDH Au=RSA Enc=RC4(128) Mac=SHA1
. 2015.04.22 08:26:18 - OpenVPN > TLS: Initial packet from [AF_INET]127.0.0.1:4873, sid=44d35626 020c2961
. 2015.04.22 08:26:19 - OpenVPN > VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
. 2015.04.22 08:26:19 - OpenVPN > Validating certificate key usage
. 2015.04.22 08:26:19 - OpenVPN > ++ Certificate has key usage  00a0, expects 00a0
. 2015.04.22 08:26:19 - OpenVPN > VERIFY KU OK
. 2015.04.22 08:26:19 - OpenVPN > Validating certificate extended key usage
. 2015.04.22 08:26:19 - OpenVPN > ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
. 2015.04.22 08:26:19 - OpenVPN > VERIFY EKU OK
. 2015.04.22 08:26:19 - OpenVPN > VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=server, emailAddress=info@airvpn.org
. 2015.04.22 08:26:22 - OpenVPN > Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2015.04.22 08:26:22 - OpenVPN > Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2015.04.22 08:26:22 - OpenVPN > Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2015.04.22 08:26:22 - OpenVPN > Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2015.04.22 08:26:22 - OpenVPN > Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 4096 bit RSA
. 2015.04.22 08:26:22 - OpenVPN > [server] Peer Connection Initiated with [AF_INET]127.0.0.1:4873
. 2015.04.22 08:26:24 - OpenVPN > SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
. 2015.04.22 08:26:25 - OpenVPN > PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 10.50.0.1,comp-lzo no,route-gateway 10.50.0.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.50.0.105 255.255.0.0'
. 2015.04.22 08:26:25 - OpenVPN > OPTIONS IMPORT: timers and/or timeouts modified
. 2015.04.22 08:26:25 - OpenVPN > OPTIONS IMPORT: LZO parms modified
. 2015.04.22 08:26:25 - OpenVPN > OPTIONS IMPORT: --ifconfig/up options modified
. 2015.04.22 08:26:25 - OpenVPN > OPTIONS IMPORT: route options modified
. 2015.04.22 08:26:25 - OpenVPN > OPTIONS IMPORT: route-related options modified
. 2015.04.22 08:26:25 - OpenVPN > OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
. 2015.04.22 08:26:25 - OpenVPN > TUN/TAP device tun1 opened
. 2015.04.22 08:26:25 - OpenVPN > TUN/TAP TX queue length set to 100
. 2015.04.22 08:26:25 - OpenVPN > do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
. 2015.04.22 08:26:25 - OpenVPN > /sbin/ifconfig tun1 10.50.0.105 netmask 255.255.0.0 mtu 1500 broadcast 10.50.255.255
. 2015.04.22 08:26:25 - OpenVPN > /usr/lib/AirVPN/update-resolv-conf tun1 1500 1560 10.50.0.105 255.255.0.0 init
. 2015.04.22 08:26:25 - OpenVPN > dhcp-option DNS 10.50.0.1
. 2015.04.22 08:26:42 - OpenVPN > /sbin/route add -net 127.0.0.1 netmask 255.255.255.255 dev ppp0
. 2015.04.22 08:26:43 - OpenVPN > /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 10.50.0.1
. 2015.04.22 08:26:43 - OpenVPN > /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 10.50.0.1
. 2015.04.22 08:26:43 - OpenVPN > /sbin/route add -net 178.162.198.112 netmask 255.255.255.255 gw 0.0.0.0
. 2015.04.22 08:26:43 - OpenVPN > SIOCADDRT: Invalid argument
. 2015.04.22 08:26:43 - OpenVPN > ERROR: Linux route add command failed: external program exited with error status: 7
. 2015.04.22 08:26:43 - Starting Management Interface
. 2015.04.22 08:26:43 - OpenVPN > Initialization Sequence Completed
I 2015.04.22 08:26:43 - Flushing DNS
! 2015.04.22 08:26:43 - Connected.
. 2015.04.22 08:26:43 - OpenVPN > MANAGEMENT: Client connected from [AF_INET]127.0.0.1:3100
. 2015.04.22 08:26:43 - OpenVpn Management > >INFO:OpenVPN Management Interface Version 1 -- type 'help' for more info
. 2015.04.22 08:27:38 - OpenVPN > [server] Inactivity timeout (--ping-restart), restarting
. 2015.04.22 08:27:38 - OpenVPN > SIGUSR1[soft,ping-restart] received, process restarting
. 2015.04.22 08:27:38 - OpenVPN > Restart pause, 5 second(s)
! 2015.04.22 08:27:38 - Disconnecting
. 2015.04.22 08:27:38 - Management - Send 'signal SIGTERM'
. 2015.04.22 08:27:38 - OpenVPN > MANAGEMENT: CMD 'signal SIGTERM'
. 2015.04.22 08:27:38 - OpenVPN > MANAGEMENT: Client disconnected
. 2015.04.22 08:27:38 - OpenVPN > Assertion failed at misc.c:785
. 2015.04.22 08:27:38 - OpenVPN > Exiting due to fatal error
. 2015.04.22 08:27:38 - OpenVpn Management > SUCCESS: signal SIGTERM thrown
. 2015.04.22 08:27:38 - OpenVpn Management > >FATAL:Assertion failed at misc.c:785
. 2015.04.22 08:27:38 - Connection terminated.
I 2015.04.22 08:27:41 - Checking authorization ...
! 2015.04.22 08:27:42 - Connecting to Nekkar (Netherlands, Amsterdam)
I 2015.04.22 08:27:42 - DNS of the system will be updated to VPN DNS (ResolvConf method)
. 2015.04.22 08:27:42 - SSL > stunnel 4.42 on x86_64-pc-linux-gnu platform
. 2015.04.22 08:27:42 - SSL > Compiled/running with OpenSSL 1.0.1 14 Mar 2012
. 2015.04.22 08:27:42 - SSL > Threading:PTHREAD SSL:ENGINE Auth:LIBWRAP Sockets:POLL,IPv6
. 2015.04.22 08:27:42 - SSL > Reading configuration from file /home/sepehr/.airvpn/c36a72c24b7b85ac5efb6d3aacb27e0efef4786e9be111cacda088475b88a21c.tmp.ssl
. 2015.04.22 08:27:42 - SSL > Initializing SSL context for service openvpn
. 2015.04.22 08:27:42 - SSL > SSL context initialized
. 2015.04.22 08:27:42 - SSL > Configuration successful
. 2015.04.22 08:27:42 - OpenVPN > OpenVPN 2.3.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on May  2 2014
. 2015.04.22 08:27:42 - OpenVPN > library versions: OpenSSL 1.0.1 14 Mar 2012, LZO 2.06
. 2015.04.22 08:27:42 - OpenVPN > MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:3100
. 2015.04.22 08:27:42 - OpenVPN > NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
. 2015.04.22 08:27:42 - OpenVPN > Control Channel Authentication: tls-auth using INLINE static key file
. 2015.04.22 08:27:42 - OpenVPN > Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2015.04.22 08:27:42 - OpenVPN > Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2015.04.22 08:27:42 - OpenVPN > Socket Buffers: R=[87380->131072] S=[16384->131072]
. 2015.04.22 08:27:42 - OpenVPN > Attempting to establish TCP connection with [AF_INET]127.0.0.1:8683 [nonblock]
. 2015.04.22 08:27:42 - OpenVPN > TCP connection established with [AF_INET]127.0.0.1:8683
. 2015.04.22 08:27:42 - OpenVPN > TCPv4_CLIENT link local: [undef]
. 2015.04.22 08:27:42 - OpenVPN > TCPv4_CLIENT link remote: [AF_INET]127.0.0.1:8683
. 2015.04.22 08:27:42 - SSL > Service openvpn accepted connection from 127.0.0.1:60804
. 2015.04.22 08:27:42 - SSL > connect_blocking: connecting 37.48.81.49:443
. 2015.04.22 08:27:42 - SSL > connect_blocking: connected 37.48.81.49:443
. 2015.04.22 08:27:42 - SSL > Service openvpn connected remote server from 172.31.31.85:53857
. 2015.04.22 08:27:43 - SSL > SSL connected: new session negotiated
. 2015.04.22 08:27:43 - SSL > Negotiated ciphers: ECDHE-RSA-RC4-SHA SSLv3 Kx=ECDH Au=RSA Enc=RC4(128) Mac=SHA1
. 2015.04.22 08:27:43 - OpenVPN > TLS: Initial packet from [AF_INET]127.0.0.1:8683, sid=a43fb3fa 0218acb4
. 2015.04.22 08:27:44 - OpenVPN > VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
. 2015.04.22 08:27:44 - OpenVPN > Validating certificate key usage
. 2015.04.22 08:27:44 - OpenVPN > ++ Certificate has key usage  00a0, expects 00a0
. 2015.04.22 08:27:44 - OpenVPN > VERIFY KU OK
. 2015.04.22 08:27:44 - OpenVPN > Validating certificate extended key usage
. 2015.04.22 08:27:44 - OpenVPN > ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
. 2015.04.22 08:27:44 - OpenVPN > VERIFY EKU OK
. 2015.04.22 08:27:44 - OpenVPN > VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=server, emailAddress=info@airvpn.org
. 2015.04.22 08:27:46 - OpenVPN > Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2015.04.22 08:27:46 - OpenVPN > Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2015.04.22 08:27:46 - OpenVPN > Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
. 2015.04.22 08:27:46 - OpenVPN > Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
. 2015.04.22 08:27:46 - OpenVPN > Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 4096 bit RSA
. 2015.04.22 08:27:46 - OpenVPN > [server] Peer Connection Initiated with [AF_INET]127.0.0.1:8683
. 2015.04.22 08:27:48 - OpenVPN > SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
. 2015.04.22 08:27:48 - OpenVPN > PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 10.50.0.1,comp-lzo no,route-gateway 10.50.0.1,topology subnet,ping 10,ping-restart 60,ifconfig 10.50.0.191 255.255.0.0'
. 2015.04.22 08:27:48 - OpenVPN > OPTIONS IMPORT: timers and/or timeouts modified
. 2015.04.22 08:27:48 - OpenVPN > OPTIONS IMPORT: LZO parms modified
. 2015.04.22 08:27:48 - OpenVPN > OPTIONS IMPORT: --ifconfig/up options modified
. 2015.04.22 08:27:48 - OpenVPN > OPTIONS IMPORT: route options modified
. 2015.04.22 08:27:48 - OpenVPN > OPTIONS IMPORT: route-related options modified
. 2015.04.22 08:27:48 - OpenVPN > OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
. 2015.04.22 08:27:48 - OpenVPN > TUN/TAP device tun1 opened
. 2015.04.22 08:27:48 - OpenVPN > TUN/TAP TX queue length set to 100
. 2015.04.22 08:27:48 - OpenVPN > do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
. 2015.04.22 08:27:48 - OpenVPN > /sbin/ifconfig tun1 10.50.0.191 netmask 255.255.0.0 mtu 1500 broadcast 10.50.255.255
. 2015.04.22 08:27:48 - OpenVPN > /usr/lib/AirVPN/update-resolv-conf tun1 1500 1560 10.50.0.191 255.255.0.0 init
. 2015.04.22 08:27:48 - OpenVPN > dhcp-option DNS 10.50.0.1
. 2015.04.22 08:27:53 - OpenVPN > /sbin/route add -net 127.0.0.1 netmask 255.255.255.255 dev ppp0
. 2015.04.22 08:27:53 - OpenVPN > SIOCADDRT: File exists
. 2015.04.22 08:27:53 - OpenVPN > ERROR: Linux route add command failed: external program exited with error status: 7
. 2015.04.22 08:27:53 - OpenVPN > /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 10.50.0.1
. 2015.04.22 08:27:53 - OpenVPN > /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 10.50.0.1
. 2015.04.22 08:27:53 - OpenVPN > /sbin/route add -net 37.48.81.49 netmask 255.255.255.255 gw 0.0.0.0
. 2015.04.22 08:27:53 - OpenVPN > ERROR: Linux route add command failed: external program exited with error status: 7
. 2015.04.22 08:27:53 - Starting Management Interface
. 2015.04.22 08:27:53 - OpenVPN > Initialization Sequence Completed
. 2015.04.22 08:27:53 - OpenVPN > SIOCADDRT: Invalid argument
I 2015.04.22 08:27:53 - Flushing DNS
! 2015.04.22 08:27:53 - Connected.
. 2015.04.22 08:27:53 - OpenVPN > MANAGEMENT: Client connected from [AF_INET]127.0.0.1:3100
. 2015.04.22 08:27:53 - OpenVpn Management > >INFO:OpenVPN Management Interface Version 1 -- type 'help' for more info
! 2015.04.22 08:28:11 - Disconnecting
. 2015.04.22 08:28:11 - Management - Send 'signal SIGTERM'
. 2015.04.22 08:28:11 - OpenVPN > MANAGEMENT: CMD 'signal SIGTERM'
. 2015.04.22 08:28:11 - OpenVPN > /sbin/route del -net 127.0.0.1 netmask 255.255.255.255
. 2015.04.22 08:28:11 - OpenVPN > /sbin/route del -net 0.0.0.0 netmask 128.0.0.0
. 2015.04.22 08:28:11 - OpenVPN > /sbin/route del -net 128.0.0.0 netmask 128.0.0.0
. 2015.04.22 08:28:11 - OpenVPN > Closing TUN/TAP interface
. 2015.04.22 08:28:11 - OpenVPN > /sbin/ifconfig tun1 0.0.0.0
. 2015.04.22 08:28:13 - OpenVPN > /usr/lib/AirVPN/update-resolv-conf tun1 1500 1560 10.50.0.191 255.255.0.0 init
. 2015.04.22 08:28:14 - SSL > Error detected on socket (read) file descriptor: Broken pipe (32)
. 2015.04.22 08:28:14 - SSL > Connection reset: 15662 bytes sent to SSL, 12891 bytes sent to socket
. 2015.04.22 08:28:21 - Management - Send 'signal SIGTERM'
. 2015.04.22 08:28:21 - OpenVpn Management > SUCCESS: signal SIGTERM thrown

 

 

Share this post


Link to post

Maybe someone with more OpenVPN experience can chime in. Here are some stabs in the dark. I cannot try them because I do not have a Linux machine.

It adds the route of the PPTP interface when I try it but that is on Windows.

Two thoughts come to mind:

1 - Can the route be added in Preferences > Routes > Inside the tunnel?

2 - On Eddie for Windows the config has, 'dev tun'. OpenVPN Man states this mean it is dynamic:

# Use a dynamic tun device.
dev tun

--dev tunX | tapX | null
    TUN/TAP virtual network device ( X can be omitted for a dynamic device.)

It appears it is loading tun1 for you:

. 2015.04.22 08:27:48 - OpenVPN > TUN/TAP device tun1 opened

Would adding an OVPN Directive help?

dev tap0

Perhaps that is not an option:

    You must use either tun devices on both ends of the connection or tap devices on both ends. You cannot mix them, as they represent different underlying protocols.

    tun devices encapsulate IPv4 while tap devices encapsulate ethernet 802.3.

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