Open ryscheng opened 8 years ago
Another option. Use OpenVPN https://github.com/schwabe/ics-openvpn
On the other hand, Psiphon seems to have figured out the VPNService->SOCKS->SSH stuff for their Android client
https://play.google.com/store/apps/details?id=com.psiphon3 https://lh6.ggpht.com/uXmKvfsYVnolhQ3enOTIdiaZhmraMkExCr2DVEjIugNAJIRKtC5xHTYx9BhGZFMRPQ=h900-rw https://lh3.ggpht.com/LdjDle0prr1IfGAkoj1Th-A1fb3Hr0WixXSr32eFpDdH3e1_x-QQS8h0VBM1oLgoow=h900-rw https://bitbucket.org/psiphon/psiphon-circumvention-system
Another openVPN option is packaging it following the model used by bitmask: https://github.com/leapcode/bitmask_android
which also uses ics-openvpn, but shows the corresponding gradle config, and that it has to be linked in several places.
From my understanding, it's not possible to programmatically configure the VPN profiles in the system settings. So any option will rely on https://developer.android.com/reference/android/net/VpnService.html
Made great progress with this. https://github.com/uProxy/colony/pull/19 Now we want to package a VPN client in with the app
https://github.com/aquto/cordova-plugin-vpn