What is VPN actually used for?

24

1

I've never really understood why VPNs are used. I know it stands for Virtual Private Network, but in simple terms how does it work and what is it used for?

Dean Perry

Posted 2010-10-29T16:43:25.073

Reputation: 667

1So you can work from home. – JD Isaacks – 2010-10-29T20:51:28.423

Answers

23

It's used to allow secure remote access to a network. The second paragraph from the Wikipedia article sums it up nicely:

It encapsulates data transfers between two or more networked devices which are not on the same private network so as to keep the transferred data private from other devices on one or more intervening local or wide area networks.

It effectively makes the remote machine part of host network for access to resources and other machines on that network. So you can use the company e-mail, intranet and printers for example.

Find out more on Wikipedia

ChrisF

Posted 2010-10-29T16:43:25.073

Reputation: 39 650

OK that's great. Thanks for cleaing that up :) – Dean Perry – 2010-10-29T16:53:49.053

13

In a nutshell it connects two private networks securely through a public network. VPN

CaseyIT

Posted 2010-10-29T16:43:25.073

Reputation: 3 213

2So if I create a VPN at work and connect to it from home, I can view all the machines at work in my network list on my home PC? – Dean Perry – 2010-10-29T16:50:30.917

@deanpcmad - indeed. (see my answer). – ChrisF – 2010-10-29T16:51:42.817

Thats a common usage yes. Its also sometimes used to link various physical sites of a business through the internet. – Sirex – 2010-10-29T16:58:02.887

1making multiple networks a single network. – kagali-san – 2010-10-29T17:01:43.570

1@dean The whole thing is also encrypted to ensure your business is safe from eavesdroppers. Some companies even require internationally traveling employees to take "empty" laptops with them through customs, and getting all data via a secure VPN once at their destination. – Daniel Beck – 2010-10-29T17:08:14.990

4VPN's are used by Canadians to stream netflix – Lightly Salted – 2010-10-29T17:12:36.037

4

Both answers are right, it can be used to join two networks together, or just to connect single clients to a network or single server over public connection using a secure private tunnel. When the connection is made, all computers involved act as if they are on a private LAN. In the past, when I traveled for work, I used one on my home server so that I could connect from my hotel room to my server and stream music off of it as if I were still at home. This was just a simple one, using OpenVPN. It of course can be used to make networks at two locations on different sides of the country for a large corporation accessible to each other as if they were in the same building.

MaQleod

Posted 2010-10-29T16:43:25.073

Reputation: 12 560

4

Apart from the other technical/conceptual answers given, which are perfect, I'll give you an example to illustrate the need of a VPN:

Imagine you need two computers to be connected in the same LAN for some reason, e.g. you use software in your work-laptop that needs to access your company server through the LAN to check for license.

Every day you go to the office, connect the laptop to the LAN, and you use the that software. So far, so good.

Now suppose one day you want, sorry, you need to work from home, so you don't go to the office that day. Now suppose you really needed to do some work, you start that application and "bang" Error: cannot access license server! Contact the administrator, Bill (that geek from the IT department), you'll find it in phone number 555-2347276, he knows this stuff (it would be awesome to get a message that nice, right?).

There, you need a VPN, to connect your laptop at home, through Internet, to your workplace LAN so you can access the server and run your applications as if you were at the office.

Toto

Posted 2010-10-29T16:43:25.073

Reputation: 367