Create a lightweight openvpn client on Android (server config already)

user2134598 picture user2134598 · Mar 5, 2013 · Viewed 16.7k times · Source

I have a server which I install openvpn. I have config some client and now I want to create an openvpn client to connect to it with the client config I've created.

I know there is an OpenVpn client on the market. But, how can I do my own client with the VPN API (VpnService, ...) Because I want to provide the client config with the app, so the client will just connect the android system

Answer

plaisthos picture plaisthos · Mar 5, 2013

The source of the OpenVPN for Android client is available under http://github.com/schwabe/ics-openvpn/. The subset of files that is needed to have a working Android OpenVPN core is relatively small since the client has a relatively good control and UI separation.

There are already a number of clients on the Play using the ics-openvpn project as basis (often without proper copyright attribution and without providing source code as the GPL requires)