• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Android 4.0 Tunneling

kyousef

Lurker
Hi
I have been working on an application that uses VpnService class, which is recently released in Android 4.0
I managed to redirect all mobile traffic to my code, using VpnService. I do some processing and logic on this traffic, then I need to forward that traffic to the Internet, and getting that traffic back to the OS.
The only way I managed to think of was to create a TUN device to forward traffic over. I found some application that might be doing something similar (tPacketCapture, and FeatVpn), but still could not figure out how they managed to do that.

So, my question is, how can I create a TUN device on unrooted android devices to forward traffic over. And is there any other way that could be done on unrooted devices?

Thanks
 
Back
Top Bottom