UWNetworksLab / colony

Apache License 2.0
5 stars 1 forks source link

Local VPN client #8

Open ryscheng opened 8 years ago

ryscheng commented 8 years ago

https://github.com/aquto/cordova-plugin-vpn

ryscheng commented 8 years ago

Another option. Use OpenVPN https://github.com/schwabe/ics-openvpn

ryscheng commented 8 years ago

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

willscott commented 8 years ago

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.

ryscheng commented 8 years ago

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

ryscheng commented 8 years ago

Made great progress with this. https://github.com/uProxy/colony/pull/19 Now we want to package a VPN client in with the app