locked
Question about UWP's Windows.Networking.Vpn API RRS feed

  • Question

  • 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?

    Wednesday, October 3, 2018 2:09 PM

All replies

  • Hi,

    Well, currently there is no document or samples that shows how to use the VPN APIs. It means we have very limited help with VPN issues currently. we don't have anything more information to share about it right now. 

    Best regards,

    Roy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Thursday, October 4, 2018 2:12 AM
  • Roy,

    Obviously there are VPN vendors in the store today, how does a company get on the "Accepted" list of vendors so that one can get details about the api's and how to work with them?   Can you give me a contact?

    Thank you

    pmont


    pmont

    Thursday, October 4, 2018 11:39 AM
  • Hi ,

    For VPN issue. I suggest that you might need to open a support ticket for this. Please contact our paid phone support at MS Support. You will get 1:1 support on that. 

    Best regards,

    Roy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, October 31, 2018 8:35 AM