vpn tunnelling explanation

me88

Distinguished
Sep 12, 2011
386
0
18,790
can someone explain vpn tunnelling (simple and short way please), for example when it says you'll be able to access your network what exactly does that mean? if i don't have any other servers other than that vpn server what could i access?

the reason why i am asking is because i plan on setting one up using linux (probably ubuntu) using openvpn
 
Solution


Yes.
It does not magic up a connection all on its own.

The VPN just provides an encrypted tunnel between the two end points.
Your system at Starbucks feels just like it is on your home (or office) LAN.

USAFRet

Titan
Moderator
Virtual Private Network.

You can connect to one end (your house and router), from somewhere outside.
Via an encrypted communication.
The only things that know what is going on is the two end points.

It works just like if it were two systems on the same internal LAN, except that one of them is external. Out there somewhere.
For instance, tomorrow, I will be using a VPN to connect to the network at my job. What I see on the system here is exactly like if I was sitting in the office, connected to the standard LAN.

Now...if you don't know what it is, why are you wanting to set one up?
 

me88

Distinguished
Sep 12, 2011
386
0
18,790


i do have a good understanding of it, whats throwing me off is when it says you can access your network, does that mean i can use the same internet connection that vpn tunnel is connected to?
 

USAFRet

Titan
Moderator


You need an internet connection at both ends of the tunnel.

For instance, sitting at Starbucks.
Starbucks WiFi...VPN tunnel....your home VPN and internet....out to somewhere.
The Starbucks WiFi sees only that you are 'connected'. Not the potentiality of what sites you may be connected to.

But if you are at Starbucks, and the sites you wish to go to are HTTPS, they can't see any traffic anyway. It's all encrypted.
 

It depends on the context of which this is being said. Is this homework?

When you establish a tunnel, it's possible you can use you OWN (local) Internet connection, but also is possible to use the remote Internet connection, if configured so. Case#2 is like those services where you are overseas and you want Netflix to think you are coming in from the U.S.
 

me88

Distinguished
Sep 12, 2011
386
0
18,790


lol no its not homework

so can i set up a vpn tunnel on one device in the network where the vpn tunnel is set up, go outside that network and still use that internet connection that the vpn tunnel is connected to?
 

me88

Distinguished
Sep 12, 2011
386
0
18,790


so i basically need internet on both ends...?
 

USAFRet

Titan
Moderator


Yes.
It does not magic up a connection all on its own.

The VPN just provides an encrypted tunnel between the two end points.
Your system at Starbucks feels just like it is on your home (or office) LAN.
 
Solution

me88

Distinguished
Sep 12, 2011
386
0
18,790


does distance effect a connection through vpn?