Not sure if this is the right forum or not.
We're building our UWP VPN application using Native VPN profiles. There're a few things we can't figure out
1. VpnManagement.AddProfileFromXmlAsync(ProfileXMLData) always return AccessDenied. Is there any specific capability has to be put into Package.appxmanifest file? Or that API is forbidden? Why?
2. Can't make Split tunnel work. We have VpnNativeProfile configured for
RoutingPolicyType = VpnRoutingPolicyType.SplitRouting
Then we create a traffic filter and define different policy for it:
var chrome = new VpnTrafficFilter(new VpnAppId(VpnAppIdType.FilePath, @"c:\Program Files (x86)\Google\Chrome\Application\chrome.exe"));
chrome.RoutingPolicyType = VpnRoutingPolicyType.ForceAllTrafficOverVpn;
_vpnProfile.TrafficFilters.Add(chrome);
We expect Chrome to send all traffic to the tunnel when tunnel is up, but it doesn't. What are we doing wrong?