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 ...
I had the same problem, but I found a solution.
I just chose Pattern, turned off the screen, turned it back on and clicked on Forgot in the lower-right corner. After I gave in my Google password it changed automatically back to slide.
In the settings the option "none" is still grayed-out but it's selected anywhere and it works.
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 ...
A VPN is a virtual private network.
Your device connects to a VPN server through a public connection and tunnels a second virtual and private (to you) connection through the VPN server to see all devices that are protected behind the VPN server (such as a company's whole network infrastructure for example).
This feature is mostly used for road warriors ...
You can solve this issue either from the Android side or from the Windows side:
From the Android side
Tap your device "menu" button, and select "settings";
Tap "Wireless & networks";
Tap "Wi-Fi settings";
Tap your device "menu" to bring up extra options and select "advanced";
Tap "Use static IP";
Fill in your local network static IP details and dns ...
As described in this how-to, you can do this by installing a "chrooted" Linux distro on Android such as Ubuntu, and then downloading, installing and configuring Hamachi manually.
Hamachi is a vpn program which can be used to link up computers. With
hamachi on an android you would be able to access the files on
multiple computers from anywhere in the ...
Found this, it's a hack but it works for on my galaxy nexus 2.1.2
Here's the steps:
Set your lock screen security to what you want, slide/none
Go to create VPN profile
Create a pattern lock
Setup VPN profile
Unlock but input the wrong pattern until device locks for 30.
Tap "Forgotten Pattern"
Enter your google account details.
Cancel the "Screen ...
This is really a continuation of @Zuul's answer, to cover the DNS settings in Android 4.0+ (ICS), which is a little harder to find IMO. AFAIK Zuul's answer covers Android <2.3 settings.
From the Android side (Android 4.0+ ICS)
WiFi (click on word "WiFi", not ON/OFF switch)
Press and hold (long tap) your wireless network until dialog pops up
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 ...
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 ...
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 ...
This is for security reasons: If you lose your phone with VPN set up, anyone can log into your network. Having a pin lock mitigates this threat.
If you happen to have CyanogenMod 7+ installed there's an option called Profiles. You can setup your default profile to have no screen lock at all (not even slide lock). That's the closest I got. Hint: This feature ...
If Joe's device is rooted and Joe has a server (with full SSH access) running somewhere on internet, Joe should use SSH Tunnel app with socks proxy option checked (for dynamic port forwarding). There's no need to install VPN server or proxy server. There's no need to do complicated configurations on server. Plus, Joe's data will be secured inside powerful ...
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:
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
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 ...
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).
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+
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 ...
You could use DroidWall for this IF you're rooted. Just deny all traffic and then allow traffic to your VPN IP/port. If you need to use a custom script see the man page of iptables for the syntax. Here's a quick, untested example.
iptables -P FORWARD ACCEPT
iptables -P INPUT DROP
iptables -P OUTPUT DROP
iptables -A OUTPUT -p udp --dport 1194 -d xxx.xxx.xxx....
Here are the ports used by VPNs
To allow PPTP tunnel maintenance traffic, open TCP 1723.
To allow PPTP tunneled data to pass through router, open Protocol ID 47.
L2TP over IPSec
To allow Internet Key Exchange (IKE), open UDP 500.
To allow IPSec Network Address Translation (NAT-T) open UDP 5500.
To allow L2TP traffic, open UDP 1701.