Advertisement
pulser_777

Untitled

May 24th, 2018
259
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 2.81 KB | None | 0 0
  1. <VPNProfile>
  2.     <DnsSuffix>example.com</DnsSuffix>
  3.     <NativeProfile>
  4.         <Servers>vpn.example.com</Servers>
  5.         <NativeProtocolType>IKEv2</NativeProtocolType>
  6.         <Authentication>
  7.             <UserMethod>Eap</UserMethod>
  8.             <Eap>
  9.                 <Configuration>
  10.                 <!-- Paste (Get-VpnConnection -Name template).EapConfigXmlStream.InnerXML HERE -->
  11. <EapHostConfig xmlns="http://www.microsoft.com/provisioning/EapHostConfig"><EapMethod><Type xmlns="http://www.microsoft.com/provisioning/EapCommon">13</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>13</Type><EapType xmlns="http://www.microsoft.com/provisioning/EapTlsConnectionPropertiesV1"><CredentialsSource><CertificateStore><SimpleCertSelection>true</SimpleCertSelection></CertificateStore></CredentialsSource><ServerValidation><DisableUserPromptForServerValidation>true</DisableUserPromptForServerValidation><ServerNames>vpn.example.com</ServerNames><TrustedRootCA>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 </TrustedRootCA></ServerValidation><DifferentUsername>false</DifferentUsername><PerformServerValidation xmlns="http://www.microsoft.com/provisioning/EapTlsConnectionPropertiesV2">true</PerformServerValidation><AcceptServerName xmlns="http://www.microsoft.com/provisioning/EapTlsConnectionPropertiesV2">true</AcceptServerName><TLSExtensions xmlns="http://www.microsoft.com/provisioning/EapTlsConnectionPropertiesV2"><FilteringInfo xmlns="http://www.microsoft.com/provisioning/EapTlsConnectionPropertiesV3"><CAHashList Enabled="true"><IssuerHash>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 </IssuerHash><IssuerHash>00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 </IssuerHash></CAHashList></FilteringInfo></TLSExtensions></EapType></Eap></Config></EapHostConfig>
  12.                 <!-- HERE -->
  13.                 </Configuration>
  14.             </Eap>
  15.         </Authentication>
  16.         <RoutingPolicyType>SplitTunnel</RoutingPolicyType>
  17.         <DisableClassBasedDefaultRoute>true</DisableClassBasedDefaultRoute>
  18.     </NativeProfile>
  19.     <AlwaysOn>true</AlwaysOn>
  20.     <RememberCredentials>true</RememberCredentials>
  21.     <TrustedNetworkDetection>example.com</TrustedNetworkDetection>
  22.     <Route>
  23.         <Address>10.0.0.0</Address>
  24.         <PrefixSize>8</PrefixSize>
  25.     </Route>
  26.     <Route>
  27.         <Address>172.16.0.0</Address>
  28.         <PrefixSize>12</PrefixSize>
  29.     </Route>
  30.     <Route>
  31.         <Address>192.168.0.0</Address>
  32.         <PrefixSize>16</PrefixSize>
  33.     </Route>
  34.     <DomainNameInformation>
  35.         <DomainName>.example.com</DomainName>
  36.         <DnsServers>192.168.1.254</DnsServers>
  37.     </DomainNameInformation>
  38. </VPNProfile>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement