Partager via


Provisioning a Corporate Network Connection Through an Internet Connection

4/8/2010

The following XML example illustrates how to establish a virtual private network (VPN) connection to a corporate network by using an existing connection to the Internet. The connection to the corporate network is made through a VPN connection created with the CM_VPNEntries Configuration Service Provider.

Code Example

<characteristic type="CM_PPPEntries">
   <characteristic type="InternetPPP">
      <parm name="DestId" value="{436EF144-B4FB-4863-A041-8F905A62C572}" />
      <parm name="CountryCode" value="1" />
      <parm name="AreaCode" value="425" />
      <parm name="Phone" value="5550124" />
      <parm name="UserName" value="USERNAME" />
      <parm name="Password" value="PASSWORD" />
      <parm name="Domain" value="DOMAIN" />
   </characteristic>
</characteristic>
<characteristic type="CM_VPNEntries">
   <characteristic type="VPN1">
      <parm name="SrcId" value="{436EF144-B4FB-4863-A041-8F905A62C572}" />
      <parm name="DestId" value="{A1182988-0D73-439e-87AD-2A5B369F808B}" />
      <parm name="Phone" value="corp-vpn.adatum.com" />
      <parm name="UserName" value="myuser" />
      <parm name="Password" value="mypassword" />
      <parm name="Domain" value="mydomain" />
   </characteristic>
</characteristic>

Remarks

One provisioning XML file typically contains configuration information for multiple Configuration Service Providers. To use this example, you must replace the values as appropriate, and add the node as a child of the OMA Client Provisioning file. For information about the syntax of this file, see OMA Client Provisioning Files. For examples, see OMA Client Provisioning XML File Examples.

See Also

Tasks

CM_VPNEntries Configuration Service Provider Examples for OMA Client Provisioning

Reference

CM_VPNEntries Configuration Service Provider
CM_PPPEntries Configuration Service Provider