Top Subjects

CD Burners
Home Networking
Computer Viruses
Web Servers

Sponsored By:

Browse the Computer Library

Main > Computer > Security

How Virtual Private Networks Work
by Jeff Tyson

 Introduction to How Virtual Private Networks Work
What Makes A VPN?
Analogy: Each LAN is an Island
› VPN Security
VPN Technologies
Lots More Information

VPN Security
A well-designed VPN uses several methods for keeping your connection and data secure:

  • Firewalls - A firewall provides a strong barrier between your private network and the Internet. You can set firewalls to restrict the number of open ports, what type of packets are passed through and which protocols are allowed through. Some VPN products, such as Cisco's 1700 routers, can be upgraded to include firewall capabilities by running the appropriate Cisco IOS on them. You should already have a good firewall in place before you implement a VPN, but a firewall can also be used to terminate the VPN sessions.

  • Encryption - This is the process of taking all the data that one computer is sending to another and encoding it into a form that only the other computer will be able to decode. Most computer encryption systems belong in one of two categories:
    • Symmetric-key encryption
    • Public-key encryption

    In symmetric-key encryption, each computer has a secret key (code) that it can use to encrypt a packet of information before it is sent over the network to another computer. Symmetric-key requires that you know which computers will be talking to each other so you can install the key on each one. Symmetric-key encryption is essentially the same as a secret code that each of the two computers must know in order to decode the information. The code provides the key to decoding the message. Think of it like this: You create a coded message to send to a friend in which each letter is substituted with the letter that is two down from it in the alphabet. So "A" becomes "C," and "B" becomes "D". You have already told a trusted friend that the code is "Shift by 2". Your friend gets the message and decodes it. Anyone else who sees the message will see only nonsense.

    The sending computer encrypts the document with a symmetric key, then encrypts the symmetric key with the public key of the receiving computer. The receiving computer uses its private key to decode the symmetric key. It then uses the symmetric key to decode the document.

    Public-key encryption uses a combination of a private key and a public key. The private key is known only to your computer, while the public key is given by your computer to any computer that wants to communicate securely with it. To decode an encrypted message, a computer must use the public key, provided by the originating computer, and its own private key. A very popular public-key encryption utility is called Pretty Good Privacy (PGP), which allows you to encrypt almost anything. You can find out more about PGP at the PGP site.

    Photo courtesy Cisco Systems, Inc.
    A remote-access VPN utilizing IPSec

  • IPSec - Internet Protocol Security Protocol (IPSec) provides enhanced security features such as better encryption algorithms and more comprehensive authentication. IPSec has two encryption modes: tunnel and transport. Tunnel encrypts the header and the payload of each packet while transport only encrypts the payload. Only systems that are IPSec compliant can take advantage of this protocol. Also, all devices must use a common key and the firewalls of each network must have very similar security policies set up. IPSec can encrypt data between various devices, such as:
    • Router to router
    • Firewall to router
    • PC to router
    • PC to server

  • AAA Server - AAA (authentication, authorization and accounting) servers are used for more secure access in a remote-access VPN environment. When a request to establish a session comes in from a dial-up client, the request is proxied to the AAA server. AAA then checks the following:
    • Who you are (authentication)
    • What you are allowed to do (authorization)
    • What you actually do (accounting)

    The accounting information is especially useful for tracking client use for security auditing, billing or reporting purposes.

Lowest Price
1.Linksys EtherFast Cable/DSL Firewall Router 4 Port Switch VPN ENDPOINT $53.90
3.NetGear FVS318 Cable/DSL Prosafe VPN Firewall Internet Gateway Router w/8-Port Switch $97.00
4.SNAPGEAR SME530 2 Port VPN Firewall $329.77
5.Linksys EtherFast Cable/DSL VPN Router w/4-Port Switch $98.21


<< Prev Page    Intro    Next Page >>

  HSW Home

Table of Contents:
Introduction to How Virtual Private Networks Work
What Makes A VPN?
Analogy: Each LAN is an Island
› VPN Security
VPN Technologies
Lots More Information

Search Google:
powered by Google  
Rate this Article!

Copyright � 1998-2003 Howstuffworks, Inc. All rights reserved.

Lycos (R) s a registered trademark of Carnegie Mellon University.

Privacy Policy | Children's Privacy Notice | Terms and
Conditions |  Standard Advertising Terms and Conditions