Does anyone know how to make a VPN connection programmatically using the L2TP / IPSec server protocol in android?
I am trying to connect to my L2TP / IPSec VPN server through my Android application, since I learned that I found out that using android.net.vpnservice I could connect, but when I read some documentation it was not clear how to connect to a VPN (the API is not set to set a username or password, and there is also no API to set my type of VPN (l2tp, pptp), I also tested a Google application example (toyvpn), and there was not one that I mentioned earlier there.
Any help would be really appreciated. thanks in advance
source
share