Using the Windows7 OS for Access
This section describes how mobile users use the built-in L2TP VPN function of the Windows7 OS to access the intranet.
Procedure
- Modify the registry.
In the Windows system, an IPSec policy is automatically created for an L2TP VPN connection. Certificate authentication is used in the IPSec policy. If the local device does not have an appropriate certificate, the L2TP VPN tunnel fails to be established.
This section describes how to establish an L2TP VPN tunnel without an IPSec policy. Therefore, the related registry needs to be modified to disable the automatically created IPSec policy.
- Choose Start > Run. Run the regedit command to open the registry.
- Access the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\RasMan\Parameters directory. Right-click the blank area on the right side and choose New > DWORD(32-bit) Value from the shortcut menu to generate file New Value #1.
- Right-click New Value #1 and choose Rename from the shortcut menu. Rename the file to ProhibitIpSec.
- Right-click the ProhibitIpSec file and choose Modify from the shortcut menu.
- In the Edit DWORD(32-bit) Value dialog box, set Value Data to 1 and set Base to Hexadecimal.
- Restart the PC to make the configurations take effect.
- Create an L2TP VPN connection.
- Choose
- Click Network and Internet. Then click Network and Sharing Center.
- Select Set up a new connection or network to create a new network connection.
- Select Connect to a workplace and click Next.
- Select Use my Internet connection(VPN) and access the intranet through the VPN connection over the Internet.
- Enter the Internet address, namely, the interface IP address used by the LNS to establish a VPN tunnel. Enter the connection name and click Next.
- Enter the user name and password.
- Click Skip.
- On the Network and Sharing Center page, click Change adapter settings.
- Right-lick the newly established connection and choose Properties from the shortcut menu.
- On the Security tab page, set required parameters and click OK.
- Click the Network icon in the taskbar. Click Connect.
- Enter the user name and password and click Connect.
- After the L2TP VPN dialup succeeds, the system displays Connected.
- Choose