On an android phone, stock or modded rom, is it possible to force the use of VPN? E.g. only allow traffic tunneled by VPN, don't allow traffic without using VPN to make sure that no unencrypted traffic leaks. Thanks for any hint!
|
|
Answering an old question, I know, but Android 4.2 has "Always-on VPN" in the menu on the VPN Settings page: setting a VPN profile under this will maintain the VPN connection, and only allow network traffic when connected to it. More info: http://support.google.com/nexus/bin/answer.py?hl=en&answer=2819573 (It may have been added in an earlier version of Android, but my Nexus 7 auto-updated before I got around to setting up the VPN :) |
|||
|
|
You could install Orbot on your phone and install a bridge on your server.
|
|||||||||||||
|
SSHTunnel
SSHTunnel is an ssh tunnel/vpn solution for Android. When I first found SSHTunnel, users were forced to use an application's settings to use SOCK5 proxy, but now sshtunnel can handle per application and global use on its own. Just like rooting is required to get the full functionality of Orbot, you will need a rooted device in order to get what you need from SSHTunnel. Although this is not a VPN, this is a much simpler setup that will give you an encrypted tunnel to your server. You can interact with your server through this connection directly, or use it to receive or bounce traffic outwards.
Links & QR
|
|||
|
|



