Windows VPN Example Template
You can manage VPN configuration on Windows devices through a policy. Read this section to learn how to create a custom Windows VPN policy using a template from WebUI.
About this task
- From the WebUI select
- The WebUI MCM dashboard appears. Click Create Policy.
- From the list of available policy options, select Custom from Template.
- On the General Settings page, do the following:
- Enter Policy Name and Description.
- For Operating System, select Windows.
- From the Assign Policy to Site drop-down, select a site to assign the policy.
- In the Templated Policy section, under
Select a Policy from Template drop-down,
select Windows VPN Example Template and edit the
necessary parameters.Note: . This example template is for PPTP VPN with EAP - MSCHAPv2 configuration. This configuration uses windows logon credentials to make a connection. For more information on EAP configuration and authentication, refer toExtensible Authentication Protocol (EAP) for network access
<Atomic> <CmdID>5ed5b540-92c3-49e4-808e-01de3d9a799a</CmdID> <Replace> <CmdID>9b2f2603-1ae8-44b9-a80b-652540b99bf0</CmdID> <Item> <Target> <LocURI>./Vendor/MSFT/VPNv2/{{VPN_PROFILENAME}}/ProfileXML</LocURI> </Target> <Data> <![CDATA[<VPNProfile> <ProfileName>{{VPN_PROFILENAME}}</ProfileName> <NativeProfile> <Servers>{{VPN_SERVERHOST}}</Servers> <Authentication> <UserMethod>Eap</UserMethod> <Eap> <Configuration> <EapHostConfig xmlns="http://www.microsoft.com/provisioning/EapHostConfig"><EapMethod><Type xmlns="http://www.microsoft.com/provisioning/EapCommon">26</Type><VendorId xmlns="http://www.microsoft.com/provisioning/EapCommon">0</VendorId><VendorType xmlns="http://www.microsoft.com/provisioning/EapCommon">0</VendorType><AuthorId xmlns="http://www.microsoft.com/provisioning/EapCommon">0</AuthorId></EapMethod><Config xmlns="http://www.microsoft.com/provisioning/EapHostConfig"><Eap xmlns="http://www.microsoft.com/provisioning/BaseEapConnectionPropertiesV1"><Type>26</Type><EapType xmlns="http://www.microsoft.com/provisioning/MsChapV2ConnectionPropertiesV1"><UseWinLogonCredentials>true</UseWinLogonCredentials></EapType></Eap></Config></EapHostConfig> </Configuration> </Eap> </Authentication> </NativeProfile> <RememberCredentials>true</RememberCredentials> </VPNProfile>]]> </Data> </Item> </Replace> </Atomic>
-
- Replace all occurrences of {{VPN_PROFILENAME}} in the template with your VPN connection name.
- Replace {{VPN_SERVERHOST}} in the template with your server name or address.
Note: WhenUseWinLogonCredentials
is set to true, the VPN client uses the windows credentials with which the user logged in to the endpoint to connect with the VPN server from the endpoint. - Click Save to save the Windows custom VPN policy.
- Add the saved policy to a policy group for Windows and deploy to MDM Server.