My name is Vasyl Khrystiuk‎ > ‎pub‎ > ‎android‎ > ‎

OpenVPN client for android

Tags: TBD

Theory

Types(implementations) of VPN:
PPTP
L2TP/IPSec
OpenVPN
SSTP

Some comparisions: 

Android support

TBD

The key point for implementing VPN connection on the Android device is:

Protocols alternatives

What we were looked as a practical alternative:
  • Strongswan(IPsec-based VPN Solution).
  • OpenVPN
But building Strongswan client from sources was practically hard and require a lot of magic actions(the instruction from READMEs not helped much) so we chose OpenVPN.

OpenVPN

OpenVPN is good. 

OpenVPN implementation for java is made by OpenVPN community itself: https://github.com/OpenVPN/openvpn3/tree/master/javacli
OpenVPN implementation for Android is done in https://github.com/schwabe/ics-openvpn (first google link).
There is another example of Android implementation but based on older OpenVPN version. 
Usually, OpenVPN is configured via .ovpn config files (see example)
OpenVPN supports different types of auth, including username:password, and we will use this type of auth.




Comments