WAN

VPN - Virtual Private Networks

Intranet
VPN - Reti Private Virtuali (RPV) VPN - Redes Privadas Virtuais (RPV) VPN - Virtuelle Private Netze VPN - Réseaux Privés Virtuels (RPV) VPN - Redes privadas virtuales

The concept of virtual private networks

Local area networks (LANs) are the internal networks of organisations, meaning connections between the machines that belong to a particular organisation. These networks are becoming more and more frequently connected to the Internet, using interconnection equipment. Very often, companies have a need to communicate over the Internet with subsidiaries, customers, or even staff who may be geographically distant.

However, data transmitted through the Internet is much more vulnerable than when it is travelling over an organisation's internal network, as the path taken is not defined in advance, which means that the data has to go through a public network infrastructure belonging to different entities. For this reason, it is not impossible that somewhere along the line, a nosy user might listen to the network or even hijack this signal. Therefore, information which is sensitive for an organisation or business should not be sent under such conditions.

The first solution to fulfill this need for secure communications involves linking remote networks using dedicated lines. However, as most businesses aren't able to link two remote local area networks with a dedicated line, it is sometimes necessary to use the Internet as a transmission medium.

A good compromise involves using the Internet as a transmission medium with a tunneling protocol, which means that the data is encapsulated before being sent in an encrypted manner. The term Virtual Private Network (VPN for short) is used to refer to the network artificially created in this way.
This network is said to be virtual because it links two "physical" networks (local area networks) using an unreliable connection (the Internet), and private because only computers which belong to a local area network on one end of the VPN or the other can "see" the data.

The VPN system, then, can provide a secure connection at a lower cost, as all that is needed is the hardware on either end. On the other hand, it cannot ensure a quality of service comparable to a leased line, as the physical network is public and therefore not guaranteed.

Operation of a VPN

A virtual private network relies on a protocol called a tunneling protocol; that is, a protocol that encrypts the data which runs from one end of the VPN to the other.

Virtual private network (VPN)

The word "tunnel" is used to symbolise the fact that, between the moment the data enters the VPN and when it leaves, it is encrypted, and therefore incomprehensible to anyone not located at either end of the VPN, as if the data were travelling through a tunnel. In a two-machine VPN, the VPN client is the part which encrypts and decrypts the data on the user's end, and the VPN server (or more often remote access server) is the element that decrypts the data on the organisation's end.

That way, whenever a user needs to access the virtual private network, his/her request is transmitted unencrypted to the gateway system, which connects to the remote network using the public network's infrastructure as an intermediary, then transmits the request in an encrypted manner. The remote computer then provides the data to the VPN server on its network, which sends the reply encrypted. When the user's VPN client receives the data, it is decrypted, and finally sent to the user.

Tunneling protocols

The main tunneling protocols are:

  • PPTP (Point-to-Point Tunneling Protocol) is a layer 2 protocol developed by Microsoft, 3Com, Ascend, US Robotics and ECI Telematics.
  • L2F (Layer Two Forwarding) is a layer 2 protocol developed by Cisco, Northern Telecom and Shiva. It is now nearly obsolete.
  • L2TP (Layer Two Tunneling Protocol), the outcome of work by the IETF (RFC 2661), brings together the features of PPTP and L2F. It is a layer 2 protocol based on PPP.
  • IPSec is a layer 3 protocol created by the IETF that can send encrypted data for IP networks.

The PPTP protocol

The principle of PPTP (Point To Point Tunneling Protocol) involves creating frames with the protocol PPP and encapsulating them using an IP datagram.

Thus, with this kind of connection, remote machines on two local area networks are connected with a point to point connection (including an authentication/encryption system), and the packet is sent within an IP datagram.

The PPTP protocol

This way, the local area network's data (as well as the addresses of the machines found in the message's header) is encapsulated within a PPP message, which is itself encapsulated within an IP message.

The L2TP protocol

L2TP is a standard tunneling protocol (standardised in an RFC) which is very similar to PPTP. L2TP encapsulates PPP frames, which are themselves encapsulating other protocols (such as IP, IPX or NetBIOS).

The IPSec protocol

IPSec is a protocol defined by the IETF which is used to make data transfers secure on the network layer. It is actually a protocol which makes security improvements to the IP protocol in order to ensure the privacy, integrity, and authentication of data sent.

IPSec is based around three modules:

  • IP Authentication Header (AH), which involves integrity, authentication and protection from replay attacks on packets.
  • Encapsulating Security Payload (ESP), which defines packet encryption. ESP provides privacy, integrity, authentication and protection against replay attacks.
  • Security Association (SA) which defines key exchange and security settings. SAs include all information on how to process IP packets (the AH and/or ESP protocols, tunnel or transportation mode, the security algorithms used by the protocols, the keys used, etc.) The key exchange is done either manually or with the exchange protocol IKE (most of the time), which enables both parties to hear one another.

Previous page Next page

Last update on Thursday October 16, 2008 02:43:17 PM.This document entitled « VPN - Virtual Private Networks » 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.
Best answers for « VPN Virtual Private Networks » in :
Setting up a virtual private network (VPN) Show Setting up a virtual private network (VPN) Local area networks (LAN ) networks are internal to an organization, i.e. the connections between machines belong to the organization. These networks are increasingly connected to the Internet...
Installing a VPN server in Windows XP Show Advantages of a VPN 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...
Hosting Virtual machines ShowHosting Virtual machines Intro Hosting Virtual machines Advantages Disadvantages Hosting Intro A virtual machine is remote replica of a real machine, meaning that they have no direct relationship to any piece real hardware. Virtual...
Connection very low or no network ShowConnection very low or no network Network problem Solution Network assign but no connectivity Problem on the network layer Solution Problem with WiFi Below is a tips of how to solve your network trouble under windows XP...
Safari – Private Browsing ShowSafari – Browse Privately The Safari private browsing option allows to browse without leaving any traces… without even trying to erase the clear the history The advantage is rather interesting: • No history of web pages • No...
Download Insistsoft SSL VPN Server ShowInsistsoft SSL VPN Server is a tool to install a Virtual Private Network or VPN for Windows. It builds fast network on internet. It does not require any installation of additional programs. Once Insistsoft SSL VPN Server installed, your users can...
Download Hamachi ShowHamachi is an application allowing distant computers to create a virtual local network ( VPN) safely, as if they were situated on the same physical connection. Hamachi does not ask for sharp knowledge to create its own virtual private network and...
Download Network Event Viewer ShowNetwork Event Viewer enables you to fully manage the logs of your network. You can obtain and store in real time all the error messages generated by Windows machines on your private network. Advantage The application takes care of the filter, to...
Installing a VPN server on XP ShowInterest 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...
Ireike - ireike.exe Showireike - ireike.exe ireike.exe (ireike stands for Internet Key Exchange (IKE) Client) is Microsoft's virtual private network (VPN) client. It is used to establish secure connections between remote sites over the Internet. The process ireike.exe is...
Types of networks ShowDifferent types of networks Different types of (private) networks are distinguished based on their size (in terms of the number of machines), their data transfer speed, and their reach. Private networks are networks that belong to a single...