Skip to content

Android 4.4.2: all traffic routed to VPN, routing options from the app are ignored #305

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Configure VPN using a working configuration tested on a GNU/Linux box. The 
configuration does not use pushed routes, it just have a route for a remote LAN 
through the vpn_gateway.


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

After the VPN is estabilished, I see the following ip route (terminal with root 
access):

0.0.0.0/1 dev tun0 scope link
default via 10.0.1.252 dev wlan0
10.0.1.0/24 dev wlan scope link
10.0.1.0/24 dev wlan proto kernel scope link src 10.0.1.205 metric 315
10.0.1.252 dev wlan0 scope link
128.0.0.0/1 dev tun0 scope link

I.e. no route for the remote LAN, all the traffic routed to the VPN due the 
rule 0.0.0.0/1 dev tun0.

In app options I have ignore VPN for local networks checked, default routing 
unchecked and a custom route to 192.168.3.0/24

Fom the app log I see:

Routes: 192.168.3.0/24
Routes excluded: 10.0.1.0/24
VpnService routes installed: 192.168.3.0/24


What mobile phone are you using?

Kingelon (Alps) G9000

Which Android Version and stock ROM or aftermarket like cyanogenmod?

Android 4.4.2 build G9000_20140815

Please provide any additional information below.

It seems a bug in Android service, how can I confirm that?

The pone is rooted, can I use a connect script as a workaround to set routes as 
I want?

Original issue reported on code.google.com by niccolo....@gmail.com on 24 Nov 2014 at 9:24

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions