Create VPN on Android programmatically

后端 未结 3 1550
不知归路
不知归路 2021-02-01 18:03

I know this has been asked before, but most of them are 3 to 4 years ago with no definite answers. I would like to know if this is already possible as of 2015.

3条回答
  •  一向
    一向 (楼主)
    2021-02-01 18:36

    API is one for OpenVPN:

    http://code.google.com/p/ics-openvpn/

    This provides one potential VPN solution that you are fully in control of (the server is open-source also), but it is not PPTP or IPSec. If you understand the PPTP protocol, it should be possible to use this as a model to implement such a VPN client.

    I think u find more information here:

    How to programmatically create a new VPN interface with Android 4.0?

提交回复
热议问题