tim06 / VPNProtocols

Android client implementation of VPN
26 stars 5 forks source link

Request Sample App #2

Closed DionGanteng closed 2 years ago

DionGanteng commented 2 years ago

Good job friend, I'm interested in using this library. I'm new to android programming, there's no complete documentation. I'm confused where to start. how to add ovpn profile? how to limit only certain apps that can use vpn connection?

tim06 commented 2 years ago

Hello! Thank you for you interest. You can look to app module, here you can find working sample with modern recommendations. Here you can choose two options:

  1. Implementation with jetpack compose — compose package
  2. Implementation with Android View — view package

Finally you can build and install app to device, then add .ovpn configuration params. Note: Currently ca,cert,key,tls-crypt keys implemented with String type and without keystore.

Allowed apps feature is not implemented now.

tim06 commented 2 years ago

app module renamed to sample