Closed

How to extend VpnService to open an L2TP/IPSEC connection in android programmatically?

I am looking to implement a feature to open a L2TP/IPSEC connection from the android application so I can simply pass the server ip, pre-shared key, username and password and so the device is connected to this VPN server.

Note that this could be implemented simply in any android device by Opening Settings -> Wireless & Networks -> VPN -> Add VPN Network -> choose vpn cnx type, ip, shared secret, username, password -> the vpn connection will be opened and the mobile will take a public ip matching the server ip address and so on.. I need to implement exactly this but from the code so the user will click on a button and all this work will be done in the background..

I looked here [login to view URL] that we need to extend and build our own VPN solutions to do that.

Is there any available solutions for that so we can use it instead of reinventing the wheel?

The below solution ToyVpn is suggested by android here [login to view URL]

https://android.googlesource.com/platform/development/+/master/samples/ToyVpn/src/com/example/android/toyvpn

But it's not working for me as I don't see in the code a logic that takes those params (ip address, shared secret, username and password) and open this vpn connection

Skills: Android, Mobile App Development, Java

See more: debian l2tp ipsec asa, vpn pptp l2tp ipsec, l2tp vpn connection centos, free pptp l2tp ipsec vpn services, debian server l2tp ipsec, l2tp ipsec centos, add pptp l2tp ipsec vpn connection free, android l2tp ipsec crt, linux l2tp ipsec server android, l2tp ipsec server android, android open close internet connection, android l2tp ipsec, how to open exe files on android, how to open rar files on android, how to open zip files on android

About the Employer:
( 0 reviews ) Lebanon

Project ID: #20824692

4 freelancers are bidding on average $77 for this job

rvtechsolution

Hi I am Android and iOS APPs expert having 7+ years experience and ready to implement a feature to open a L2TP/IPSEC connection from the android application. Please share more details. Kindly initiate the ch More

$222 USD in 7 days
(7 Reviews)
2.4
unix515

Hi. I read your post in carefully. I am a high skilled mobile and web developer. I have been developing mobile and web applications for 5+ years. I can build your project with high quality in time than you want. I More

$20 USD in 7 days
(2 Reviews)
2.3
bobydarby58

I want this project Relevant Skills and Experience I have knowledge about this technology

$45 USD in 1 day
(0 Reviews)
0.0
kacimi03hamza

have just finished with a project, and do not have any more in the pipeline at the moment. If I am hired for this project, I will be able to give it my full attention and will deliver on time. Apart from this, I posses More

$20 USD in 7 days
(0 Reviews)
0.0