Some users want to set up a VPN for him with Windows 7, and today Xiao-bian is with you to explore how to achieve:
The following is a small series of integrated solutions, I hope to have the need to help users.
Operation Steps
1, modify the registration form Hklmsystemcurrentcontrolsetservicestcpipparametersipenabledrouter=1
2, start the service
Start Routing and Remote Access Service (required)
Stop the System Firewall service, or add VPN port 1723 exceptions to firewall rules
If you need to use a local area network
Start server, Workstation, TCP/IP NetBIOS Helper Service (the above 3 services are basically started by default, unless extremely optimized computer), read some articles to start the RemoteRegistry service, I feel unsafe should also not be necessary , no measured
3, open the network connection "Incoming Connections", right-click Properties, and check "allow others to build a private connection to my computer through the Internet or other network in a tunneling manner." Users tab to add a new VPN user or to check the existing computer user as the VPN account. Network tab Internet Protocol 4 properties set the address pool of a VPN or use DHCP to automatically assign
4, set NAT
Run the following command with CMD
Code fragment:
Netsh
routing ip Install
Add interface name= "Local Area Connection" Mode=full
Add interface Name= "Internal" mode=private
At this point, the configuration is complete, if you can not dial, restart can be
Netsh does not routing this module in Windows VISTA/7
Vista can extract ippromon.dll and Ipmontr.dll files from Windows XP or Windows Server 2003 under%systemdrive%windows/system32/to vista/ Under the Windows/system32 directory under 7
Win7 must extract the above files from Windows Server 2008 R2 to the above directory
Then CMD runs the following named
Netsh
Delete helper Ipmontr.dll
Delete helper Ippromon.dll
Add Helper Ipmontr.dll
Add Helper Ippromon.dll
And then follow the 4th step above.
If you do not have access to the Internet after the VPN connection, please click on the VPN connection properties and remove the "Use Remote gateway and DNS"
Note that the Windows desktop operating system supports only one VPN connection at a time
Article Source: System Tribe Www.xp14.com