mahiccc / ics-openvpn

Automatically exported from code.google.com/p/ics-openvpn
0 stars 0 forks source link

Connection cannot be established with Android L #259

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.install Android L developer release 
2 . start OpenVPN and configure it
3. Connection doesn't get established 

What is the expected output? What do you see instead?

What mobile phone are you using?
Nexus 5 
Which Android Version and stock ROM or aftermarket like cyanogenmod?
Android L stock 
Please provide any additional information below.

Original issue reported on code.google.com by i...@johannesm.de on 27 Jun 2014 at 9:18

GoogleCodeExporter commented 9 years ago
Same problem. 

Seems problem happend in adding route process. Program can't get system gateway 
so the default route setup failed.

Original comment by 1993422...@gmail.com on 28 Jun 2014 at 3:20

GoogleCodeExporter commented 9 years ago
2014-06-28 12:52:17 Running on Nexus 5 (hammerhead) google, Android API 20, 
version 0.6.17, official build
2014-06-28 12:52:17 Log cleared.
2014-06-28 12:52:19 Building configuration…
2014-06-28 12:52:19 MANAGEMENT: CMD 'signal SIGINT'
2014-06-28 12:52:19 TCP/UDP: Closing socket
2014-06-28 12:52:19 Closing TUN/TAP interface
2014-06-28 12:52:19 SIGINT[hard,] received, process exiting
2014-06-28 12:52:19 MANAGEMENT: >STATE:1403931139,EXITING,SIGINT,,
2014-06-28 12:52:22 started Socket Thread
2014-06-28 12:52:22 Network Status: CONNECTED  to WIFI "You_are_flying"
2014-06-28 12:52:22 P:Initializing Google Breakpad!
2014-06-28 12:52:22 Current Parameter Settings:
2014-06-28 12:52:22   config = '/data/data/de.blinkt.openvpn/cache/android.conf'
2014-06-28 12:52:22   mode = 0
2014-06-28 12:52:22   show_ciphers = DISABLED
2014-06-28 12:52:22   show_digests = DISABLED
2014-06-28 12:52:22   show_engines = DISABLED
2014-06-28 12:52:22   genkey = DISABLED
2014-06-28 12:52:22   key_pass_file = '[UNDEF]'
2014-06-28 12:52:22   show_tls_ciphers = DISABLED
2014-06-28 12:52:22   connect_retry_max = 5
2014-06-28 12:52:22 Connection profiles [0]:
2014-06-28 12:52:22   proto = udp
2014-06-28 12:52:22   local = '[UNDEF]'
2014-06-28 12:52:22   local_port = '[UNDEF]'
2014-06-28 12:52:22   remote = 'con2.2life.pw'
2014-06-28 12:52:22   remote_port = '10085'
2014-06-28 12:52:22   remote_float = DISABLED
2014-06-28 12:52:22   bind_defined = DISABLED
2014-06-28 12:52:22   bind_local = DISABLED
2014-06-28 12:52:22   bind_ipv6_only = DISABLED
2014-06-28 12:52:22   connect_retry_seconds = 5
2014-06-28 12:52:22   connect_timeout = 10
2014-06-28 12:52:22   socks_proxy_server = '[UNDEF]'
2014-06-28 12:52:22   socks_proxy_port = '[UNDEF]'
2014-06-28 12:52:22   socks_proxy_retry = DISABLED
2014-06-28 12:52:22   tun_mtu = 1500
2014-06-28 12:52:22   tun_mtu_defined = ENABLED
2014-06-28 12:52:22   link_mtu = 1500
2014-06-28 12:52:22   link_mtu_defined = DISABLED
2014-06-28 12:52:22   tun_mtu_extra = 0
2014-06-28 12:52:22   tun_mtu_extra_defined = DISABLED
2014-06-28 12:52:22   mtu_discover_type = -1
2014-06-28 12:52:22   fragment = 0
2014-06-28 12:52:22   mssfix = 1450
2014-06-28 12:52:22   explicit_exit_notification = 0
2014-06-28 12:52:22 Connection profiles END
2014-06-28 12:52:22   remote_random = DISABLED
2014-06-28 12:52:22   ipchange = '[UNDEF]'
2014-06-28 12:52:22   dev = 'tun'
2014-06-28 12:52:22   dev_type = '[UNDEF]'
2014-06-28 12:52:22   dev_node = '[UNDEF]'
2014-06-28 12:52:22   lladdr = '[UNDEF]'
2014-06-28 12:52:22   topology = 1
2014-06-28 12:52:22   tun_ipv6 = DISABLED
2014-06-28 12:52:22   ifconfig_local = '[UNDEF]'
2014-06-28 12:52:22   ifconfig_remote_netmask = '[UNDEF]'
2014-06-28 12:52:22   ifconfig_noexec = DISABLED
2014-06-28 12:52:22   ifconfig_nowarn = DISABLED
2014-06-28 12:52:22   ifconfig_ipv6_local = '[UNDEF]'
2014-06-28 12:52:22   ifconfig_ipv6_netbits = 0
2014-06-28 12:52:22   ifconfig_ipv6_remote = '[UNDEF]'
2014-06-28 12:52:22   shaper = 0
2014-06-28 12:52:22   mtu_test = 0
2014-06-28 12:52:22   mlock = DISABLED
2014-06-28 12:52:22   keepalive_ping = 0
2014-06-28 12:52:22   keepalive_timeout = 0
2014-06-28 12:52:22   inactivity_timeout = 0
2014-06-28 12:52:22   ping_send_timeout = 0
2014-06-28 12:52:22   ping_rec_timeout = 0
2014-06-28 12:52:22   ping_rec_timeout_action = 0
2014-06-28 12:52:22   ping_timer_remote = DISABLED
2014-06-28 12:52:22   remap_sigusr1 = 0
2014-06-28 12:52:22   persist_tun = DISABLED
2014-06-28 12:52:22   persist_local_ip = DISABLED
2014-06-28 12:52:22   persist_remote_ip = DISABLED
2014-06-28 12:52:22   persist_key = DISABLED
2014-06-28 12:52:22   passtos = DISABLED
2014-06-28 12:52:22   resolve_retry_seconds = 60
2014-06-28 12:52:22   resolve_in_advance = DISABLED
2014-06-28 12:52:22   username = '[UNDEF]'
2014-06-28 12:52:22   groupname = '[UNDEF]'
2014-06-28 12:52:22   chroot_dir = '[UNDEF]'
2014-06-28 12:52:22   cd_dir = '[UNDEF]'
2014-06-28 12:52:22   writepid = '[UNDEF]'
2014-06-28 12:52:22   up_script = '[UNDEF]'
2014-06-28 12:52:22   down_script = '[UNDEF]'
2014-06-28 12:52:22   down_pre = DISABLED
2014-06-28 12:52:22   up_restart = DISABLED
2014-06-28 12:52:22   up_delay = DISABLED
2014-06-28 12:52:22   daemon = DISABLED
2014-06-28 12:52:22   inetd = 0
2014-06-28 12:52:22   log = DISABLED
2014-06-28 12:52:22   suppress_timestamps = DISABLED
2014-06-28 12:52:22   machine_readable_output = ENABLED
2014-06-28 12:52:22   nice = 0
2014-06-28 12:52:22   verbosity = 4
2014-06-28 12:52:22   mute = 0
2014-06-28 12:52:22   gremlin = 0
2014-06-28 12:52:22   status_file = '[UNDEF]'
2014-06-28 12:52:22   status_file_version = 1
2014-06-28 12:52:22   status_file_update_freq = 60
2014-06-28 12:52:22   occ = ENABLED
2014-06-28 12:52:22   rcvbuf = 65536
2014-06-28 12:52:22   sndbuf = 65536
2014-06-28 12:52:22   sockflags = 0
2014-06-28 12:52:22   fast_io = DISABLED
2014-06-28 12:52:22   comp.alg = 2
2014-06-28 12:52:22   comp.flags = 1
2014-06-28 12:52:22   route_script = '[UNDEF]'
2014-06-28 12:52:22   route_default_gateway = '[UNDEF]'
2014-06-28 12:52:22   route_default_metric = 0
2014-06-28 12:52:22   route_noexec = DISABLED
2014-06-28 12:52:22   route_delay = 0
2014-06-28 12:52:22   route_delay_window = 30
2014-06-28 12:52:22   route_delay_defined = DISABLED
2014-06-28 12:52:22   route_nopull = DISABLED
2014-06-28 12:52:22   route_gateway_via_dhcp = DISABLED
2014-06-28 12:52:22   allow_pull_fqdn = DISABLED
2014-06-28 12:52:22   [redirect_default_gateway local=0]
2014-06-28 12:52:22   route 0.0.0.0/0.0.0.0/vpn_gateway/nil
2014-06-28 12:52:22   management_addr = 
'/data/data/de.blinkt.openvpn/cache/mgmtsocket'
2014-06-28 12:52:22   management_port = 'unix'
2014-06-28 12:52:22   management_user_pass = '[UNDEF]'
2014-06-28 12:52:22   management_log_history_cache = 250
2014-06-28 12:52:22   management_echo_buffer_size = 100
2014-06-28 12:52:22   management_write_peer_info_file = '[UNDEF]'
2014-06-28 12:52:22   management_client_user = '[UNDEF]'
2014-06-28 12:52:22   management_client_group = '[UNDEF]'
2014-06-28 12:52:22   management_flags = 4390
2014-06-28 12:52:22   shared_secret_file = '[UNDEF]'
2014-06-28 12:52:22   key_direction = 0
2014-06-28 12:52:22   ciphername_defined = ENABLED
2014-06-28 12:52:22   ciphername = 'BF-CBC'
2014-06-28 12:52:22   authname_defined = ENABLED
2014-06-28 12:52:22   authname = 'SHA1'
2014-06-28 12:52:22   prng_hash = 'SHA1'
2014-06-28 12:52:22   prng_nonce_secret_len = 16
2014-06-28 12:52:22   keysize = 0
2014-06-28 12:52:22   engine = DISABLED
2014-06-28 12:52:22   replay = ENABLED
2014-06-28 12:52:22   mute_replay_warnings = DISABLED
2014-06-28 12:52:22   replay_window = 64
2014-06-28 12:52:22   replay_time = 15
2014-06-28 12:52:22   packet_id_file = '[UNDEF]'
2014-06-28 12:52:22   use_iv = ENABLED
2014-06-28 12:52:22   test_crypto = DISABLED
2014-06-28 12:52:22   tls_server = DISABLED
2014-06-28 12:52:22   tls_client = ENABLED
2014-06-28 12:52:22   key_method = 2
2014-06-28 12:52:22   ca_file = '[[INLINE]]'
2014-06-28 12:52:22   ca_path = '[UNDEF]'
2014-06-28 12:52:22   dh_file = '[UNDEF]'
2014-06-28 12:52:22   cert_file = '[UNDEF]'
2014-06-28 12:52:22   priv_key_file = '[UNDEF]'
2014-06-28 12:52:22   pkcs12_file = '[UNDEF]'
2014-06-28 12:52:22   cipher_list = '[UNDEF]'
2014-06-28 12:52:22   tls_verify = '[UNDEF]'
2014-06-28 12:52:22   tls_export_cert = '[UNDEF]'
2014-06-28 12:52:22   verify_x509_type = 0
2014-06-28 12:52:22   verify_x509_name = '[UNDEF]'
2014-06-28 12:52:22   crl_file = '[UNDEF]'
2014-06-28 12:52:22   ns_cert_type = 0
2014-06-28 12:52:22   remote_cert_ku[i] = 0
2014-06-28 12:52:22   remote_cert_ku[i] = 0
2014-06-28 12:52:22   remote_cert_ku[i] = 0
2014-06-28 12:52:22   remote_cert_ku[i] = 0
2014-06-28 12:52:22   remote_cert_ku[i] = 0
2014-06-28 12:52:22   remote_cert_ku[i] = 0
2014-06-28 12:52:22   remote_cert_ku[i] = 0
2014-06-28 12:52:22   remote_cert_ku[i] = 0
2014-06-28 12:52:22   remote_cert_ku[i] = 0
2014-06-28 12:52:22   remote_cert_ku[i] = 0
2014-06-28 12:52:22   remote_cert_ku[i] = 0
2014-06-28 12:52:22   remote_cert_ku[i] = 0
2014-06-28 12:52:22   remote_cert_ku[i] = 0
2014-06-28 12:52:22   remote_cert_ku[i] = 0
2014-06-28 12:52:22   remote_cert_ku[i] = 0
2014-06-28 12:52:22   remote_cert_ku[i] = 0
2014-06-28 12:52:22   remote_cert_eku = '[UNDEF]'
2014-06-28 12:52:22   ssl_flags = 0
2014-06-28 12:52:22   tls_timeout = 2
2014-06-28 12:52:22   renegotiate_bytes = 0
2014-06-28 12:52:22   renegotiate_packets = 0
2014-06-28 12:52:22   renegotiate_seconds = 3600
2014-06-28 12:52:22   handshake_window = 60
2014-06-28 12:52:22   transition_window = 3600
2014-06-28 12:52:22   single_session = DISABLED
2014-06-28 12:52:22   push_peer_info = DISABLED
2014-06-28 12:52:22   tls_exit = DISABLED
2014-06-28 12:52:22   tls_auth_file = '[UNDEF]'
2014-06-28 12:52:22   client = ENABLED
2014-06-28 12:52:22   pull = ENABLED
2014-06-28 12:52:22   auth_user_pass_file = 'stdin'
2014-06-28 12:52:22 OpenVPN 2.4-icsopenvpn 
[git:icsopenvpn_615-c430ab0e0cef9994] android-14-armeabi-v7a [SSL (OpenSSL)] 
[LZO] [SNAPPY] [LZ4] [EPOLL] [MH] [IPv6] built on Jun 24 2014
2014-06-28 12:52:22 library versions: OpenSSL 1.0.1h 5 Jun 2014, LZO 2.06
2014-06-28 12:52:22 MANAGEMENT: Connected to management server at 
/data/data/de.blinkt.openvpn/cache/mgmtsocket
2014-06-28 12:52:22 MANAGEMENT: CMD 'hold release'
2014-06-28 12:52:22 MANAGEMENT: CMD 'bytecount 2'
2014-06-28 12:52:22 MANAGEMENT: CMD 'state on'
2014-06-28 12:52:22 MANAGEMENT: CMD 'username 'Auth' gg'
2014-06-28 12:52:22 MANAGEMENT: CMD 'password [...]'
2014-06-28 12:52:22 MANAGEMENT: CMD 'proxy NONE'
2014-06-28 12:52:23 WARNING: No server certificate verification method has been 
enabled.  See http://openvpn.net/howto.html#mitm for more info.
2014-06-28 12:52:23 LZO compression initializing
2014-06-28 12:52:23 Control Channel MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 
EL:0 ]
2014-06-28 12:52:23 MANAGEMENT: >STATE:1403931143,RESOLVE,,,
2014-06-28 12:52:23 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:393 ET:0 
EL:0 ]
2014-06-28 12:52:23 Local Options String: 'V4,dev-type tun,link-mtu 
1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 
128,key-method 2,tls-client'
2014-06-28 12:52:23 Expected Remote Options String: 'V4,dev-type tun,link-mtu 
1542,tun-mtu 1500,proto UDPv4,comp-lzo,cipher BF-CBC,auth SHA1,keysize 
128,key-method 2,tls-server'
2014-06-28 12:52:23 Local Options hash (VER=V4): '41690919'
2014-06-28 12:52:23 Expected Remote Options hash (VER=V4): '530fdded'
2014-06-28 12:52:23 TCP/UDP: Preserving recently used remote address: 
[AF_INET]222.29.157.251:10085
2014-06-28 12:52:23 Socket Buffers: R=[163840->131072] S=[163840->131072]
2014-06-28 12:52:23 Protecting socket fd 4
2014-06-28 12:52:23 Could not protect VPN socket
2014-06-28 12:52:23 MANAGEMENT: CMD 'needok 'PROTECTFD' ok'
2014-06-28 12:52:23 UDP link local: (not bound)
2014-06-28 12:52:23 UDP link remote: [AF_INET]222.29.157.251:10085
2014-06-28 12:52:23 MANAGEMENT: >STATE:1403931143,WAIT,,,
2014-06-28 12:52:24 MANAGEMENT: >STATE:1403931144,AUTH,,,
2014-06-28 12:52:24 TLS: Initial packet from [AF_INET]222.29.157.251:10085, 
sid=74439095 d688a4c4
2014-06-28 12:52:24 WARNING: this configuration may cache passwords in memory 
-- use the auth-nocache option to prevent this
2014-06-28 12:52:29 VERIFY OK: depth=1, C=CN, ST=BJ, L=BJ, O=Trangent.tk, 
OU=Trangent.tk, CN=server, emailAddress=xxx.com
2014-06-28 12:52:29 VERIFY OK: depth=0, C=CN, ST=BJ, O=Trangent.tk, 
OU=Trangent.tk, CN=server, emailAddress=xxx.com
2014-06-28 12:52:30 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 
bit key
2014-06-28 12:52:30 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for 
HMAC authentication
2014-06-28 12:52:30 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 
bit key
2014-06-28 12:52:30 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for 
HMAC authentication
2014-06-28 12:52:30 Control Channel: TLSv1, cipher TLSv1/SSLv3 
DHE-RSA-AES256-SHA, 1024 bit RSA
2014-06-28 12:52:30 [server] Peer Connection Initiated with 
[AF_INET]222.29.157.251:10085
2014-06-28 12:52:31 MANAGEMENT: >STATE:1403931151,GET_CONFIG,,,
2014-06-28 12:52:32 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
2014-06-28 12:52:32 PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS 
8.8.8.8,dhcp-option DNS 4.2.2.1,dhcp-option DNS 4.2.2.2,route 10.8.1.0 
255.255.255.0,topology net30,ping 10,ping-restart 120,ifconfig 10.8.1.14 
10.8.1.13'
2014-06-28 12:52:32 OPTIONS IMPORT: timers and/or timeouts modified
2014-06-28 12:52:32 OPTIONS IMPORT: --ifconfig/up options modified
2014-06-28 12:52:32 OPTIONS IMPORT: route options modified
2014-06-28 12:52:32 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options 
modified
2014-06-28 12:52:32 ROUTE: default_gateway=UNDEF
2014-06-28 12:52:32 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
2014-06-28 12:52:32 MANAGEMENT: >STATE:1403931152,ASSIGN_IP,,10.8.1.14,
2014-06-28 12:52:32 Got interface information 10.8.1.14 and 10.8.1.13, assuming 
second address is peer address of remote. Using /32 netmask for local IP. Mode 
given by OpenVPN is "net30".
2014-06-28 12:52:32 MANAGEMENT: CMD 'needok 'IFCONFIG' ok'
2014-06-28 12:52:32 NOTE: unable to redirect default gateway -- Cannot read 
current default gateway from system
2014-06-28 12:52:32 MANAGEMENT: >STATE:1403931152,ADD_ROUTES,,,
2014-06-28 12:52:32 MANAGEMENT: CMD 'needok 'ROUTE' ok'
2014-06-28 12:52:32 MANAGEMENT: CMD 'needok 'ROUTE' ok'
2014-06-28 12:52:32 MANAGEMENT: CMD 'needok 'DNSSERVER' ok'
2014-06-28 12:52:32 MANAGEMENT: CMD 'needok 'DNSSERVER' ok'
2014-06-28 12:52:32 MANAGEMENT: CMD 'needok 'DNSSERVER' ok'
2014-06-28 12:52:32 MANAGEMENT: CMD 'needok 'PERSIST_TUN_ACTION' NOACTION'
2014-06-28 12:52:32 Opening tun interface:
2014-06-28 12:52:32 Local IPv4: 10.8.1.14/32 IPv6: null MTU: 1500
2014-06-28 12:52:32 DNS Server: 8.8.8.8, 4.2.2.1, 4.2.2.2, Domain: null
2014-06-28 12:52:32 Routes: 0.0.0.0/0, 10.8.1.0/24 
2014-06-28 12:52:32 Routes excluded:  
2014-06-28 12:52:32 VpnService routes installed: 0.0.0.0/0 
2014-06-28 12:52:32 MANAGEMENT: CMD 'needok 'OPENTUN' ok'
2014-06-28 12:52:32 Initialization Sequence Completed
2014-06-28 12:52:32 MANAGEMENT: 
>STATE:1403931152,CONNECTED,SUCCESS,10.8.1.14,222.29.157.251

Original comment by 1993422...@gmail.com on 28 Jun 2014 at 5:02

GoogleCodeExporter commented 9 years ago
Here is ip addr and ip route info .

255|shell@hammerhead:/ $ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: rmnet0: <> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
    link/[530] 
3: rmnet1: <> mtu 2000 qdisc noop state DOWN qlen 1000
    link/[530] 
4: rmnet2: <> mtu 2000 qdisc noop state DOWN qlen 1000
    link/[530] 
5: rmnet3: <> mtu 2000 qdisc noop state DOWN qlen 1000
    link/[530] 
6: rmnet4: <> mtu 2000 qdisc noop state DOWN qlen 1000
    link/[530] 
7: rmnet5: <> mtu 2000 qdisc noop state DOWN qlen 1000
    link/[530] 
8: rmnet6: <> mtu 2000 qdisc noop state DOWN qlen 1000
    link/[530] 
9: rmnet7: <> mtu 2000 qdisc noop state DOWN qlen 1000
    link/[530] 
10: rev_rmnet0: <BROADCAST,MULTICAST> mtu 2000 qdisc noop state DOWN qlen 1000
    link/ether b2:00:d4:28:99:e2 brd ff:ff:ff:ff:ff:ff
11: rev_rmnet1: <BROADCAST,MULTICAST> mtu 2000 qdisc noop state DOWN qlen 1000
    link/ether c6:9e:f8:07:ee:e1 brd ff:ff:ff:ff:ff:ff
12: rev_rmnet2: <BROADCAST,MULTICAST> mtu 2000 qdisc noop state DOWN qlen 1000
    link/ether fa:44:2c:53:21:89 brd ff:ff:ff:ff:ff:ff
13: rev_rmnet3: <BROADCAST,MULTICAST> mtu 2000 qdisc noop state DOWN qlen 1000
    link/ether ae:54:3a:d4:61:67 brd ff:ff:ff:ff:ff:ff
14: rev_rmnet4: <BROADCAST,MULTICAST> mtu 2000 qdisc noop state DOWN qlen 1000
    link/ether c6:a2:a0:fa:7b:af brd ff:ff:ff:ff:ff:ff
15: rev_rmnet5: <BROADCAST,MULTICAST> mtu 2000 qdisc noop state DOWN qlen 1000
    link/ether 8e:9f:7b:21:32:e7 brd ff:ff:ff:ff:ff:ff
16: rev_rmnet6: <BROADCAST,MULTICAST> mtu 2000 qdisc noop state DOWN qlen 1000
    link/ether a6:66:51:03:c0:e6 brd ff:ff:ff:ff:ff:ff
17: rev_rmnet7: <BROADCAST,MULTICAST> mtu 2000 qdisc noop state DOWN qlen 1000
    link/ether 02:f5:d7:34:9a:10 brd ff:ff:ff:ff:ff:ff
18: rev_rmnet8: <BROADCAST,MULTICAST> mtu 2000 qdisc noop state DOWN qlen 1000
    link/ether 66:02:8b:df:f5:64 brd ff:ff:ff:ff:ff:ff
19: sit0: <NOARP> mtu 1480 qdisc noop state DOWN 
    link/sit 0.0.0.0 brd 0.0.0.0
20: p2p0: <NO-CARRIER,BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc 
pfifo_fast state DORMANT qlen 1000
    link/ether be:f5:ac:e2:15:40 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::bcf5:acff:fee2:1540/64 scope link 
       valid_lft forever preferred_lft forever
21: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP 
qlen 1000
    link/ether bc:f5:ac:e2:15:40 brd ff:ff:ff:ff:ff:ff
    inet 192.168.31.121/24 brd 192.168.31.255 scope global wlan0
    inet6 fe80::bef5:acff:fee2:1540/64 scope link 
       valid_lft forever preferred_lft forever
22: tun0: <POINTOPOINT,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN 
qlen 500
    link/none 
    inet 10.8.1.14/32 scope global tun0
shell@hammerhead:/ $ ip route
192.168.31.0/24 dev wlan0  proto kernel  scope link  src 192.168.31.121 

Original comment by 1993422...@gmail.com on 28 Jun 2014 at 12:29

GoogleCodeExporter commented 9 years ago
@3 that log look perfectly fine. What does not work?
@4 Routing is very different on 4.4+ see the other (closed) ticket about that 
(you need to use ip rule and iptables -t mangle -L to show routing information)

Original comment by arne@rfc2549.org on 28 Jun 2014 at 6:39

GoogleCodeExporter commented 9 years ago
Sorry for reply so late. 

The problem is after i connect to vpn successfully, there isn't any packages 
transform throw the vpn. The vpn info shows that both in and out data was zero. 
I think there is a route problem in it. Form the log there shows:

 2014-06-28 12:52:32 NOTE: unable to redirect default gateway -- Cannot read current default gateway from system

So I think the default route of vpn wasn't set correctly. Sorry for no more 
info because I have flash my phone back to 4.4.4. Later I'll try it on AVD.

Original comment by 1993422...@gmail.com on 1 Jul 2014 at 1:59

GoogleCodeExporter commented 9 years ago
The note is harmless you can ignore that. The default route is set correctly:

2014-06-28 12:52:32 VpnService routes installed: 0.0.0.0/0 

Original comment by arne@rfc2549.org on 1 Jul 2014 at 8:54

GoogleCodeExporter commented 9 years ago
This is an upstream bug. Closing the issue in OpenVPN for Android. For more 
information see: 
https://code.google.com/p/android-developer-preview/issues/detail?id=346

Original comment by arne@rfc2549.org on 10 Jul 2014 at 1:12

GoogleCodeExporter commented 9 years ago
Problem is fixed the latest public preview. 

Original comment by pascal.h...@gmail.com on 18 Oct 2014 at 7:41