aprovpn / ics-openvpn

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

push route-ipv6 without effect #320

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Configure ipv6 tunneling
2. To route through VPN connection by default include: push "route-ipv6 
2000::/3"
3. Try to ping6 to e.g. google

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

Want to see ping response, get network not reachable.

What mobile phone are you using?

i9100

Which Android Version and stock ROM or aftermarket like cyanogenmod?

cyanogenmod cm-11-20141115-SNAPSHOT

Please provide any additional information below.

Actually, everything works except the missing route. When I connect to the 
phone using adb and issue:

ip -6 r add 2000::/3 dev tun0

then everything works. So the only thing that doesn't work is adding the route. 
It *is* pushed. From the log:

2015-01-20 20:34:50 MANAGEMENT: >STATE:1421782490,ADD_ROUTES,,,
2015-01-20 20:34:50 MANAGEMENT: CMD 'needok 'ROUTE' ok'
2015-01-20 20:34:50 MANAGEMENT: CMD 'needok 'ROUTE' ok'
2015-01-20 20:34:50 MANAGEMENT: CMD 'needok 'ROUTE' ok'
2015-01-20 20:34:50 add_route_ipv6(::/0 -> fd43:f675:e811::1 metric -1) dev 
(null)
2015-01-20 20:34:50 MANAGEMENT: CMD 'needok 'ROUTE6' ok'
2015-01-20 20:34:50 add_route_ipv6(2000::/3 -> fd43:f675:e811::1 metric -1) dev 
(null)
2015-01-20 20:34:50 MANAGEMENT: CMD 'needok 'ROUTE6' ok'

But obviously the received push isn't processed.

Original issue reported on code.google.com by mnl...@gmail.com on 20 Jan 2015 at 8:39

GoogleCodeExporter commented 9 years ago
That is a known bug in Android 4.4. IPv6 over VPN does not work.

Original comment by arne@rfc2549.org on 21 Jan 2015 at 9:09

GoogleCodeExporter commented 9 years ago
OK. I'd only like to emphasize that IPv6 over VPN DOES work without problems. 
The only single thing that doesn't work is the handling of push-routeipv6.

Original comment by mnl...@gmail.com on 21 Jan 2015 at 5:26

GoogleCodeExporter commented 9 years ago
okay. Can you paste the lines with the VPN Konfiguration? The ones with routes 
installed? I have not yet seen a working IPv6 VPN on Android 4.4.x. Maybe CM 
has fixed something there.

Original comment by arne@rfc2549.org on 21 Jan 2015 at 9:28

GoogleCodeExporter commented 9 years ago
Here you are.

Original comment by mnl...@gmail.com on 23 Jan 2015 at 6:55

Attachments:

GoogleCodeExporter commented 9 years ago
No there should be somehting in the log. Like VPNService routes installed. 

Original comment by arne@rfc2549.org on 23 Jan 2015 at 9:30