Code Monkey home page Code Monkey logo

Comments (10)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
Yeah. I know that this not work (got another report about this behaviour). The 
application uses the VPNService API. The routing on Android is behind my 
control. I am afraid but this a bug google would have to fix.

Original comment by [email protected] on 26 May 2012 at 10:16

  • Changed state: Invalid

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
okie, oh well

Original comment by [email protected] on 26 May 2012 at 11:00

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
I reported the issue in the google android bug tracker:
http://code.google.com/p/android/issues/detail?id=32622

Original comment by [email protected] on 3 Jun 2012 at 6:46

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
From a mail, you can do if you have rooted your phone:

iptables -A POSTROUTING -s 192.168.43.0/24 -j MASQUERADE -t nat
iptables -A FORWARD -j ACCEPT -i wlan0 -o tun0
iptables -A FORWARD -j ACCEPT -i tun0 -o wlan0


Original comment by [email protected] on 12 Jun 2012 at 3:02

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
Issue 96 has been merged into this issue.

Original comment by [email protected] on 8 Oct 2012 at 12:44

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
Issue 104 has been merged into this issue.

Original comment by [email protected] on 5 Nov 2012 at 8:09

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
ah.. so it is possible by just adding postrouting  and forwarding rules?

are you going to implement this in to the app?

i mean, you could do a simpel root-check to see if the the dives is rooted and 
if so just add those rules.. right?

Original comment by [email protected] on 5 Nov 2012 at 9:04

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
Well sometimes the tunnel device is also called tun1. And I know from HTC 
devices that they do some different iptables rules from stock android. While 
the VPNService API has a defined interface anything beyond that is dependend on 
the vendor implementation.  Adding rules could potiently do more harm than good.

Also the wlan interface may be called different on different handsets. For 
example the Motrola Defy has tiwlan0.

Original comment by [email protected] on 5 Nov 2012 at 9:28

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
Solution if root,

See http://forum.xda-developers.com/showpost.php?p=33749904&postcount=10

Oneneeds iptables commands as specified above AND
routing command in 'dedicated tether routing  table'

Hope it helps

Original comment by [email protected] on 6 Nov 2012 at 6:23

from ics-openvpn.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 22, 2024
Issue 107 has been merged into this issue.

Original comment by [email protected] on 20 Nov 2012 at 8:09

from ics-openvpn.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.