Configuring a Network Gateway for VPN
The best way to use VPN is when the client has a broadband Internet connection and the server has a public IP address or domain name. This enables you to access the server directly using your fast Internet connection. What happens, however, if the Windows 7 machine you set up as the VPN server sits behind a gateway or firewall and so uses only an internal IP address?
You can often get around this problem by setting up a network gateway to pass through VPN packets and forward them to the VPN server. (Note that some broadband routers come with VPN capabilities built in, so they can handle an incoming VPN connection automatically.)
The details depend on the device, but the usual first step is to enable the gateway's support for VPN passthrough, which allows network computers to communicate via one or more VPN protocols (such as PPTP and IPSec).
In some cases, just enabling VPN passthrough is all you need to do to get VPN up and running through your gateway. If your VPN connection doesn't work or if your gateway doesn't support VPN passthrough, you have to open a port for the VPN protocol you're using and then have data to that port forwarded to the VPN server. (This is similar to the port forwarding described earlier for Remote Desktop connections.) The forwarded ports depend on the protocol:
PPTP Forward TCP to port 1723
IPSec Forward UPD to port 500
In this tutorial:
- Remote Network Connections
- Setting Up the Remote Computer as a Host
- Configuring Windows 7 or Vista to Act as a Remote Desktop Host
- Configuring a Windows Firewall Exception for Remote Desktop
- Activating the Remote Desktop Service
- Configuring XP to Act as a Remote Desktop Host
- Installing Remote Desktop on an XP Client Computer
- Connecting to the Remote Desktop
- Making an Advanced Connection
- Working with the Connection Bar
- Connecting to a Remote Desktop via the Internet
- Changing the Listening Port
- Configuring Windows Firewall
- Setting Up Port Forwarding
- Configuring a Network Computer for Remote Administration
- Configuring a Network Gateway for VPN
- Configuring the VPN Client
- Making the VPN Connection