Calculate Document
strongSwan VPN Client for Android :: strongSwan Documentation

strongSwan VPN Client for Android :: strongSwan Documentation

Since version 2.5.0 managed configurations are supported via enterprise mobility management (EMM). This allows pushing VPN profiles to managed devic

Related articles

How to Setup a VPN on Android Phones & Devices in 2024 The 14 Most Rarely Seen Meteorological Phenomena How to set up a VPN | A step by step guide Shamshir How to use a VPN on an iPhone or iPad

Since version 2.5.0 managed configurations are
supported via enterprise mobility management (EMM). This allows pushing VPN
profiles to managed devices using basically the same settings as those in the
profile files. But also provides additional
options to configure global app settings and disable certain features of the app
(e.g. the ability for users to add or import their own VPN profiles).

Client certificates and keys, and CA certificates may be added by bundling them
into a PKCS#12 file and then
importing that file into the Android system keystore. CA certificates and server
certificates may also be imported directly into the app since
1.4.0.
Importing CA certificates into the Android system keystore may trigger a warning
since Android 4.4 (Network may be monitored by an unknown third party)
whereas importing CA certificates directly into the app will work fine.

Since 1.9.0 split tunneling may be configure on the
client ( i.e. to only route specific traffic via VPN and/or to exclude certain
traffic from the VPN ) . The client is proposes always propose0.0.0.0/0 as remote traffic
selector and narrowing performed by the server still applies.
Since 1.5.0 the user may opt to block all traffic not
destined for the VPN if the server does narrow the traffic selector or split
tunneling is configured on the client.

Since 1.9.0 it is possible to limit a VPN connection to
specific apps or exclude certain apps from using the VPN (to them it will seem as
if no VPN is present).

Since 2.0.0 an optional Quick Settings tile (Android 7+)
shows the current connection status and allows connecting/terminating the current
VPN connection easily. The same version brought support for the Always-on VPN
feature that may be enabled in the system’s VPN settings on Android 7+ and will
start the VPN profile after a reboot (refer to the
changelog for potential caveats). The default VPN profile
used for these two features may be configured in the app’s global settings (the
default is to initiate the most recently used profile).

The app allows creating shortcuts on the Android Launcher to quickly initiate
specific VPN profiles.

Since 2.0.0 it’s possible to use Intents and a VPN
profile’s UUID to connect/terminate it with automation apps such as Llama or
Tasker e.g. based on location, WiFi hotspots or other events.

How-to use Intents to connect or terminate VPN profiles:

Details

The uuid require for this can be find at the bottom of the advanced setting
when edit a profile and may be copy from there .

To connect a profile use the following information in the Intent:

To disconnect the profile use the following information in the Intent:

If no profile ID is passed or it doesn’t match the ID of the currently
connected profile, a dialog is shown that asks confirmation from the user
to disconnect the currently connected profile.