Setup VPN Server in Windows Vista or 7

by Eric Geier [Published on 17 Nov. 2011 / Last Updated on 17 Nov. 2011]

Setup incoming PPTP VPN connections.

If you don’t have a central VPN server, you can use the server capabilities built into Windows. Here’s how to setup in up in Windows Vista and 7:

  1. Right-click the network icon in the system tray and select Open Network and Sharing Center.
  2. Click on Manage network connections (Windows Vista) or Change adapter settings (Windows 7).
  3. Press the Alt key to show the File Menu and click File > New Incoming connection….
  4. Select who you’d like to give VPN access to and/or create custom accounts by clicking on Add someone. When you’re done, click on Next.
  5. Select Through the Internet and click Next.
  6. Select the protocols you want to enable for this connection. You’ll likely want to select Internet Protocol Version 4 (TCP/IPv4), so remote users receive an IP address and can access the Internet and/or network. Plus if you want the remote user(s) to access file and/or printer shares, select File and Printer Sharing for Microsoft Networks. When you’re done, click Allow access.
  7. On the next window, click Close.

Now to define the IP address range for VPN clients:

  1. On the Network Connections window, double-click Incoming Connections.
  2. Select the Networking tab and double-click Internet Protocol Version 4 (TCP/IPv4).
  3. Select Specify IP addresses and then enter a starting and ending address that’s within range of your local subnet but not conflicting with the DHCP range. If you want clients to be able to assign themselves an IP, select that option.
  4. Click OK on both dialog boxes to save the changes.

Be sure to setup port forwarding on the router to forward port 1723 to the local IP address of the PC.

See Also

Featured Links