Flux rss

Installing a VPN server on XP

Interest of a VPN

Setting up a virtual private network allows you to connect remote computers in a secure fashion via an unreliable (Internet) connection, as if they were on the same LAN.

This procedure is used by many companies in order to allow their users to connect to the company network away from their workplace. It is easy to imagine a large number of possible applications:

  • Remote, secure access to the (company) LAN for telecommuters
  • Secured file sharing
  • LAN gaming with remote machines
  • ...

Setting up a VPN on Windows XP

Windows XP allows you to internally manage small virtual private networks, suitable for small or home offices("SOHO," for Small Office/Home Office). Thus, to set up a VPN, you just need to install a remote-access server (VPN server) at the LAN level, accessible from the Internet, and to set each client to allow it to connect.

VPN server installation on Windows XP

In our example, we will assume that the machine intended to act as a VPN server on the LAN has two interfaces; one to the LAN (e.g., a network card) and one to the Internet (e.g., a DSL or cable connection). It is through this interface connected to the Internet that VPN clients will connect to the LAN. Network connections in the Control panel. In the window you have opened, double-click on New connection wizard:

New connection wizard

Then click Next:

New connection wizard

From the three options offered in the window, select "Configure an advanced connection":

Configure an advanced connection

In the next screen, select "Accept incoming connections":

Accept incoming connections

The next screen shows various peripherals to select for a direct connection. There may not be any peripherals shown. Unless you have a particular need, you do not have to select anything:

Peripherals selection

In the next window, select "Authorize virtual private connections":

Autorize virtual private connections

A list of users of the system will appear; just select or add the users authorized to connect to the VPN server:

Users selection

Then select the list of protocols authorized via the VPN:

New connection

By clicking on the Properties button associated with the TCP/IP protocol, you can set the IP addresses that the server assigns to the client for the entire duration of the session. If the LAN on which the server is located has no specific addressing, let the server automatically determine an IP address. However, if the network has a specific addressing plan, you can set the address range to assign:

TCP/IP properties

The VPN server has now been configured; you can click on the Finish button:

Finish

Installation of the VPN client on Windows XP

In order to allow a client to connect to your VPN server, it is necessary to set all of the connection parameters (server address, protocols to use, etc.). The new connection wizard available at the Network connections icon of the control panel allows for this configuration:

New connection wizard

Then click Next:

New connection wizard

From the three options offered in the window, select "Connection to enterprise network":

Connection to enterprise network

In the next screen, select "Virtual private network connection":

Virtual private network connection

Then enter a name describing the virtual private network to which you wish to connect:

Name of the virtual private network connection

The next screen allows you to indicate whether a connection should be established in advance of connecting to the VPN. Most fo the time (if you are on a permanent connection, DSL or cable), it will not be necessary to establish the connection because the computer is already connected to the Internet; otherwise, select the connection to establish in the list:

Initial connection

In order to access the remote-access server (VPN server or host), it is indispensable to specify its address (IP address or host name). If it does not have a fixed IP address, it will be necessary to equip it with a dynamic naming device (DynDNS) capable of assigning it a domain name and specifying this name in the field below:

Host name

Once the VPN connection has been set, a connection window will open asking for a user name (login) and a password:

Virtual private network connection prompt

Before connecting, it is necessary to make some adjustments by clicking on the Properties button at the bottom of the window. A window with a certain number of tabs will allow for fine tuning the connection. In the Network management tab, select the PPTP protocol in the pulldown list, select Internet protocol (TCP/IP) and click on Properties:

Networking tab - PPTP protocol

The window that will appear allows you to set the IP address that the client machine will have during the connection to the remote-access server. This allows your addressing to be consistent with the remote addressing. Thus, the VPN server is able to act as a DHPC server, i.e., to automatically supply a valid address to the VPN client. To do this, just select the option "Get address automatically":

Addressing properties - DHCP

If the client uses DHCP, and the server assigns an internal IP address, the client will be connected to the enterprise network and will have access to the servers of that network, but it will no longer have access to the Internet via the interface used, because the IP address is not routable. In order to allow the client to be connected to the VPN while maintaining Internet access through the connection, the VPN server must be configured to share its Internet connection! Thus, the Advanced button allows you to arrange for the client to use the VPN server bridge if it shares its connection:

Addressing properties - DHCP

In order to set up the VPN link, it is necessary for the intermediate firewalls, in particular the built-in XP firewall, to be configured so as to allow the connection. It is necessary to deactivate the Windows XP built-in firewall as follows:
  1. In the control panel, click on Network connections,
  2. Right-click on the connection you use,
  3. Select the Advanced settings tab,
  4. Make sure the option Internet connection firewall is deactivated.

More information

For more information on virtual private networks, feel free to consult the page dedicated to the subject. If you have any questions, you can use the CCM forum.

Article by Jean-François PILLOU

Last update on Thursday October 16, 2008 02:43:19 PM.

This document entitled « Installing a VPN server on XP » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.
Install FreeNX server Install FreeNX server Instruction for installation Clients NX NX is a system that enables you to access your desktop from another computer over the internet. There exist different types of NX server: NX Server and 2X for... en.kioskea.net/faq/sujet-722-install-freenx-server
Problem in installing modem & audio XP driver Hi, I installed a clean XP Pro on my laptop and then tried to install drivers that are obtainable from Toshiba site. Everything worked except Modem and Sound drive. They both have a PCI DEVICE exclamation mark on device manager's Other Devices... en.kioskea.net/forum/affich-37395-problem-in-installing-modem-audio-xp-driver
How to install Windows XPon SATAUSBHDD HP LAP Hello, I would like to know how to install Windows XP on SATA USB Hard Disk for HP Laptop? I'm facing lots of problems at the time of installation of Windows XP on SATA USB Hard Disk. en.kioskea.net/forum/affich-16807-how-to-install-windows-xpon-satausbhdd-hp-lap
Repairing Windows XP using CD installationRepairing Windows XP using CD installation The CD installation for windows XP allow you to repair windows whenever there is file missing or corruption or improper function of Windows. This tips can be useful before you opt for a... en.kioskea.net/faq/sujet-516-repairing-windows-xp-using-cd-installation
Install XP from your flashdiskInstall XP from your flashdisk When your computer has a defect with its CD Drive and you are unable to read any CDs on it, you can choose to install Windows XP from a USB/ Flash disk and this is done quite easily. Below is what you need to... en.kioskea.net/faq/sujet-518-install-xp-from-your-flashdisk
No Windows Update with Windows XP SP3After installing Windows XP Service Pack 3, Windows Update won't work. Windows XP Service Pack 3 installs a new version of Windows Update, but it forgets to register it. try the following: Log on as an administrator, and run cmd.exe, and... en.kioskea.net/faq/sujet-255-no-windows-update-with-windows-xp-sp3
I cnt install xpHello, dear sir i jst brought a new sata hard drive and i install xp in that, and also i have a seperate harddrive that runs the server 2003 , so i install the win xp on my new hard drive and in case of virus attack itll getting weak, then after i... en.kioskea.net/forum/affich-36469-i-cnt-install-xp
Laptop keyboard is not working when installinHello, friends please help me! I'm facing one problem. Due to virus i formatted my laptop using 2003 server cd. When i'm installing my geniuine XP home edition my keyboard is not working after installation. to give computer name and other... en.kioskea.net/forum/affich-30032-laptop-keyboard-is-not-working-when-installin
Problem with installing XPHello, i dont know if im supposed to write this question in this forum or not but still...... i have got a problem with my pc for the first time while installing my win XP, the problem is that when ever i start downloading my OS after a few minutes it... en.kioskea.net/forum/affich-30517-problem-with-installing-xp
Download Vista-aeroWhen you chose to migrate under Vista, you would also like the interface of your navigator Firefox to follow tendency. You only have to install Vista-aero. Vista-aero is an extension of Firefox giving him the appearance of Vista' s aero. The fans of... en.kioskea.net/telecharger/telecharger-999-vista-aero
Practical uses - Installing a VPN in XP The set-up of a virtual private network enables the secure connection of remote computers through an unreliable connection (Internet), as if they were on the same local area network. This process is used by a variety of companies to let their users... en.kioskea.net/configuration-reseau/vpn-xp.php3
Intranet - Installing a DNS A DNS (domain name server) is a server that links names to the IP addresses of computers on a network. In order to set up such a server, it is necessary to install bind and named. They can be downloaded as RPM files (for Mandrake they are bind... en.kioskea.net/intranet/resdns.php3
Intranet - Installing a mail server The most commonly used e-mail server in Linux is Sendmail; however, as it is very hard to configure, we will use Qmail, an alternative e-mail server, instead. Qmail is made up of a group of programs that work with different UID/GIDs, in order to... en.kioskea.net/intranet/resmail.php3