Click here to Skip to main content
15,883,744 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Please give some ideas to handle the Secure VPN connection for android app. Actually for VPN we need client and server when app development how to set those thinks and how to send the data into the secure tunnel.


What I have tried:

I have just analysed what are the data delivery securities handled by android. Please refer the below link.

https://developer.android.com/reference/android/net/VpnService.Builder.html

https://source.android.com/security/
Posted
Updated 11-Oct-16 10:34am

1 solution

Doing this programmatically how about GitHub - schwabe/ics-openvpn: OpenVPN for Android[^] and a openVPN server. There are several cheap routers that come with a openVPN server including the instruction to set it up on android. Remember, you will need a static ip or dynamic ip services and some port-forwarding-configuration - a lot of pitfalls. The config for openVPN should be the same for this lib. Btw, entering the credentials (VPN profile available since KitKat) in settings > wireless and networks > vpn and 0.0.0.0/0 as forwarding route will forward ALL traffic with no further effort. But, as far as i know, that requires you to connect manually each time. that's it.

take care and report back...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900