Comments (10)
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.
okie, oh well
Original comment by [email protected]
on 26 May 2012 at 11:00
from ics-openvpn.
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.
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.
Issue 96 has been merged into this issue.
Original comment by [email protected]
on 8 Oct 2012 at 12:44
from ics-openvpn.
Issue 104 has been merged into this issue.
Original comment by [email protected]
on 5 Nov 2012 at 8:09
from ics-openvpn.
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.
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.
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.
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)
- OpenSSL error in OpenVPN crypto engine not available HOT 7
- push route-ipv6 without effect HOT 5
- Remove compilation date from static library HOT 4
- Lollipop (CM12) - Route rejected by Android (bad address) HOT 18
- Syntax error HOT 1
- issues HOT 4
- Doesn't work after update with mikrotik routers. HOT 1
- libopenssl help contains compile date HOT 1
- Feature request: App firewall HOT 1
- Lolipop will fail to open TUN HOT 1
- Patch for /doc/README.txt HOT 1
- Allow selection of cipher of cipher and bitsize in UI HOT 4
- Service always running on background
- Feature Request: Scrambled OpenVPN HOT 1
- How to restrict other application from using my VPN HOT 2
- Imported profile do not import auth-user-pass file HOT 3
- Compile Error HOT 1
- Does not work with USB->ethernet adapter HOT 3
- passtos support HOT 3
- Mikrotik compatibility HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ics-openvpn.