David Raines
Apr 20, 2016
8:54 pm

VpnProfile or GenericVpnProfile?

I need to programatically set up a VPN for my tablet for the application I'm writing.  For the time being, it would be acceptable for us to establish a single VPN that governs all applications, inside and outside of the container.  Will the VpnProfile SDK let me accomplish this, or do I have to use GenericVpnProfile to also route Container traffic?

Based on my previous question (https://seap.samsung.com/forum-topic/openvpn-client-knox-getgenericvpnpr...) it looks like we need to set up a new VPN server, and it would be acceptable for us to set up an L2TP/IPSEC VPN server, given that that is supported by the simpler "VpnProfile" method.

 

Thanks

David

Similar topics

No similar topics found.
Kieran McCormick
Apr 21, 2016
6:26 pm

Hi David,

If you need to set up a device wide VPN then the KNOX Standard VPNPolicy class will be the best solution.

As this class controls the base Android VPN connections...you are correct that this only supports PPTP, L2TP, or IPSec connections.

If you require any further assistance please let me know.