System tutorial, Win7 How to build VPN

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.