Jump to content
Not connected, Your IP: 3.149.229.253
Sign in to follow this  
metaoin

Problems using air vpn as non default route

Recommended Posts

Hello,

i tried to set up the vpn connection as non default route in ubuntu but the vpn doen't work after that.

My config:

client
dev tun
proto udp
remote 213.152.161.148 443
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
cipher AES-256-CBC
comp-lzo no
route-delay 5
verb 3
explicit-exit-notify 5
route-nopull

 

openvpn output:

Sun Jun 28 01:07:18 2015 OpenVPN 2.3.6 x86_64-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Jan 12 2015
Sun Jun 28 01:07:18 2015 library versions: OpenSSL 1.0.1k 8 Jan 2015, LZO 2.08
Sun Jun 28 01:07:18 2015 Control Channel Authentication: tls-auth using INLINE static key file
Sun Jun 28 01:07:18 2015 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Jun 28 01:07:18 2015 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Jun 28 01:07:18 2015 Socket Buffers: R=[212992->131072] S=[212992->131072]
Sun Jun 28 01:07:18 2015 UDPv4 link local: [undef]
Sun Jun 28 01:07:18 2015 UDPv4 link remote: [AF_INET]213.152.161.148:443
Sun Jun 28 01:07:18 2015 TLS: Initial packet from [AF_INET]213.152.161.148:443, sid=474de814 5b2128ee
Sun Jun 28 01:07:18 2015 VERIFY OK: depth=1, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=airvpn.org CA, emailAddress=info@airvpn.org
Sun Jun 28 01:07:18 2015 Validating certificate key usage
Sun Jun 28 01:07:18 2015 ++ Certificate has key usage  00a0, expects 00a0
Sun Jun 28 01:07:18 2015 VERIFY KU OK
Sun Jun 28 01:07:18 2015 Validating certificate extended key usage
Sun Jun 28 01:07:18 2015 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Sun Jun 28 01:07:18 2015 VERIFY EKU OK
Sun Jun 28 01:07:18 2015 VERIFY OK: depth=0, C=IT, ST=IT, L=Perugia, O=airvpn.org, CN=server, emailAddress=info@airvpn.org
Sun Jun 28 01:07:18 2015 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Sun Jun 28 01:07:18 2015 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Jun 28 01:07:18 2015 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Sun Jun 28 01:07:18 2015 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Sun Jun 28 01:07:18 2015 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 4096 bit RSA
Sun Jun 28 01:07:18 2015 [server] Peer Connection Initiated with [AF_INET]213.152.161.148:443
Sun Jun 28 01:07:20 2015 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Sun Jun 28 01:07:20 2015 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.0.100 255.255.0.0'
Sun Jun 28 01:07:20 2015 Options error: option 'redirect-gateway' cannot be used in this context ([PUSH-OPTIONS])
Sun Jun 28 01:07:20 2015 Options error: option 'dhcp-option' cannot be used in this context ([PUSH-OPTIONS])
Sun Jun 28 01:07:20 2015 OPTIONS IMPORT: timers and/or timeouts modified
Sun Jun 28 01:07:20 2015 OPTIONS IMPORT: LZO parms modified
Sun Jun 28 01:07:20 2015 OPTIONS IMPORT: --ifconfig/up options modified
Sun Jun 28 01:07:20 2015 OPTIONS IMPORT: route-related options modified
Sun Jun 28 01:07:20 2015 TUN/TAP device tun1 opened
Sun Jun 28 01:07:20 2015 TUN/TAP TX queue length set to 100
Sun Jun 28 01:07:20 2015 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Sun Jun 28 01:07:20 2015 /sbin/ifconfig tun1 10.4.0.100 netmask 255.255.0.0 mtu 1500 broadcast 10.4.255.255
Sun Jun 28 01:07:25 2015 Initialization Sequence Completed 

 

tun0 shows up as network interface but when i try to use it i can't get a connection.

 

 

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