Create VPN on Android programmatically

后端 未结 3 1551
不知归路
不知归路 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:25

    Also there seems to API working for that in Android 22. VpnService and VpnService.Builder. Also you should check out this sample https://android.googlesource.com/platform/development/+/master/samples/ToyVpn/src/com/example/android/toyvpn/

    Update: github.com/schwabe/ics-openvpn seems much better option when using openVPN profiles

提交回复
热议问题