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 ...
Unfortunately the stock Android tethering application does not work with VPNs. This limitation is an oversight in the software and not a system limitation.
However there is an application called ClockworkMod Tether that will allow you to tether and use a VPN at the same time. In fact it makes use of the standard tethering application and then fixes up the ...
I found some information that consists of adding iptables rules using command-line in your rooted device.
I tested it on my Android 4.4 on Blu studio and it works fine.
Quoted text originally written by SmokeyTech1 of XDA-Developers here:
You need a rooted device
Make sure you have a VPN app, like OpenVPN or DroidVPN ( I use DroidVPN and its the ...
ProxyDroid (requires root) claims to support proxy configuration using PAC ...
The free and open-source OpenVPN for Android app supports this.
In the profile configuration dialog, there is an 'allowed apps' tab that allows you to select a list of apps that is either excluded or excluded from using the established VPN:
'VPN is used for all apps but exclude selected'
'VPN is used for only for selected apps' (sic)
The list then ...
In the regular XAuth/RSA authentication scheme both client and server are mutually authenticated using RSA certificates during Phase 1 of the Internet Key Exchange protocol (IKEv1) that is used to negotiate IPsec connections. In a second authentication step the client authenticates itself using XAuth (e.g. with username/password, but there can be other ...
I used to use PPTP, but switched to OpenVPN, which is now what I prefer.
As far as security, OpenVPN is known to be pretty bulletproof. PPTP is the only one with real issues, though it's still fine for protecting against your average dope using Firesheep at Starbucks.
Given the recent NSA revelations I personally wouldn't touch the ones by Cisco and/or ...
According to https://developer.android.com/reference/android/net/VpnService.html,
There can be only one VPN connection running at the same time. The existing interface is deactivated when a new one is created.
So, no, you can only have one VPN at a time on Android. You can switch between the two, though, when you need to use the other.
Yes its possible, I have covered one method to achieve this already on this post.
Alternatively, our fellow user, Mygod has shared one application to achieve this called VPN Hotspot and is available both on XDA Labs or F-Droid. As expected both these methods need root, for non root solution you may have to look at something like PDANet+
As the name implies, the VPN type IKEv2/IPSec RSA [sic, it should actually be "IPsec" not "IPSec"] is for client authentication with an RSA certificate/key. The name was probably chosen for consistency with the existing IKEv1-based VPN types (e.g. "L2TP/IPSec RSA" or "IPSec Xauth RSA"), it might also work with ECDSA certificates/keys not only RSA, but I did ...
Yes. F-Secure Freedome (a VPN client) is running on my Note 2. I have Note 2 tethered to an Ubuntu machine and an Android tablet. My tablet and laptop post a Germany IP address, while I am on the other side of the ocean.
Make sure that your data plan allows tethering.
Make sure that you are on the cell network. However, USB tether to Wifi VPN on the phone
You can't use the native option for OpenVPN as it's not compatible with IPSec, IKE, PPTP, or L2TP, which are the only types of VPNs supported by Android:
What you can do is either ask your SysAdmin for the Proxy Server and Port Number, or just look at the file yourself. On a system that's already on the network, ...
I've just found an issue in AOSP that tracks this and has a suggested fix for it:
I tried Textra as a texting replacement app (for other reasons). In
the settings it has an option to use either System or Legacy protocols
for MMS. It even tells the user to try System if they have a VPN
enabled. I switched to System from the default Legacy, and now my ...
Run proxydroid app and selected the apps to be routed through the proxy server. Specify the host, port and proxy type of the proxy server under proxy settings.
Exclude the IP of the proxy server used in the VPN app. You can use 'OpenVPN for Android' app. Go to the settings for the VPN server and add IPs to be excluded in CIDR format (under the '...
You can use adguard for this purpose which has the capability of both a firewall and an adblocker. It sets up a local vpn for non rooted phones. It also has a proxy mode. ( inorder to use with other vpns).
Quoting the NetGuard FAQ on that topic:
Can I use another VPN application while using NetGuard?
If the VPN application is using the VPN service, then no, because NetGuard needs to use this service. Android allows only one application at a time to use this service.
NetGuard is a firewall application, so there is no intention to add VPN support. ...
When you open incognito tabs in chrome, there is a notification that appears with the message "Close all incognito tabs". You can use it to automate the process of launching your app.
In the Interface section, select the Notification posted block. Click on it, select chrome as the package and set Chrome as the title on the Input arguments ...
Most VPN based ad blocker Blokada don't work like traditional VPN systems, instead the VPN server is located on the same Android device. Outside of your device the traffic is just normal Internet traffic exactly as it would be without VPN based ad blocker.
The VPN based ad blocker uses the VPN system only for redirecting the traffic into the app for being ...
Create security lock through Settings (pattern, pin, password).
Add VPN connections
Plug the phone in and run these commands (requires adb to be setup properly and drivers). I am sure there is a way to do this directly on the phone but this is easier for me.
Commands to remove security:
Previous answer is a bit outdated (but should still work), because DroidWall isn't developed anymore, while there's a fork named AFWall+. App has free and "donate" versions and lets you to allow apps access internet only through VPN using GUI. You'll probably have to obtain paid version for this functionality, but I'm not sure about that because ...
I don't think any app can do this, given that you want to run another app or script to connect to a vpn based on conditions of open/secure WiFi
Hence, you need to look at automation, I prefer MacroDroid ,being easier to learn-that's why I use it :-), and free version offering creation of upto 5 macros.
Coming to the solution, approach is based on this ...
I think the problem is an bug in android kitkat listet as Issue 64819.
Android 4.4 VPN: DNS request packets' source IP address is always private address
A packet capture shows that the DNS packets are sent out of the public
interface, as expected, but source IP address is the VPN-assigned
private address, which is not publicly routable....
Keeping your IP address and using a VPN is the complete opposite of what VPNs are invented for. VPNs make you part of a network through a tunnel connection so that your phone is on the same level as locally connected devices.
This means your IP address will be the one of the VPN. If you don't like this, then you should not use a VPN.
Also check your IP on ...