[strongSwan] Android 4.2 always on VPN

Tobias Brunner tobias at strongswan.org
Thu Nov 15 18:57:18 CET 2012

Hi Mark,

> Can you please look into implementing the new always on VPN feature
> of Android 4.2 for the strongSwan Android client?

The 4.2 SDK is out and it turns out that the "always-on VPN" feature is
exclusive to the native Android VPN solution.  It can be enabled via an
option in the native VPN settings but one can only enforce it for a
single native VPN connection, not for e.g. any VPN connection whether
native or from an app that uses the VpnService API.  Actually, if the
feature is activated the strongSwan app currently crashes when trying to
start a VPN profile as the VpnService API generates a (currently
unhandled) exception.


More information about the Users mailing list