VPN (Virtual Private Network) F.A.Q.

Topics · Published 2019-10-24 · Revised 2026-11-23
Reviewed corrections applied locally; pre-review version preserved separately · Joomla source

2,719 Total views across this article’s versions; includes the historical baseline where available.

What Does VPN Mean?

VPN is an abbreviation for Virtual Private Network.

What Is a Virtual Private Network (VPN)?

A VPN provides private-network connectivity over shared infrastructure. It can connect a remote device to a network, join sites, or support other topologies; it is not limited to one pair of hosts. RFC 4026 describes the broader terminology.

Encryption is a property of the chosen design, not something the word VPN guarantees. For example, BGP/MPLS VPN separation does not itself encrypt customer data. The consumer Internet-access services discussed below normally use an encrypted tunnel between the user’s device and the service’s gateway.

When and Why Are VPNs Used?

VPNs can provide remote access to private resources, connect separate sites, or carry selected Internet traffic through another network.

The VPN’s endpoint roles are separate from the applications running on the same machine. A machine hosting a web server can also initiate a VPN if its VPN software and network policy permit it. IKEv2, for example, defines initiator and responder roles for its own exchanges; an HTTP server role does not prevent the host from acting as an IKE initiator.

After establishment, traffic can flow in both directions according to routes, traffic selectors, and firewall policy. A consumer provider may restrict unsolicited inbound connections, but that is not a universal limitation of VPN technology.

What Is the Purpose of a VPN?

For an encrypted VPN, useful properties include protecting traffic on the path between authenticated tunnel endpoints and providing access to the intended private network. IPsec's architecture distinguishes confidentiality, integrity, authentication, and policy enforcement; they are different properties.

For a consumer exit service, there are two separate effects:

  1. The encrypted tunnel can protect carried traffic from observers between the client and VPN gateway.
  2. Internet destinations normally see an exit address used by the service for that traffic, rather than the client’s ordinary public address.

Neither effect guarantees anonymity. The provider is a new party in the communication path, and account activity or other identifiers can still identify a user. EFF's VPN guide explains this trust boundary. VPN protection also does not replace application encryption such as HTTPS beyond the tunnel endpoint.

How Do They Work? When and Why Are They Valuable?

In a typical consumer tunnel, the client encapsulates selected traffic and protects it for transport to the VPN gateway. The gateway removes that protection and forwards the inner traffic. If HTTPS is inside the tunnel, its application encryption remains in place after the VPN layer is removed; plaintext application traffic has no such additional layer.

An Internet destination’s source-IP view depends on addressing and forwarding. A provider may translate clients onto an exit address using NAT. A routed site-to-site VPN may preserve inner addresses instead. A VPN’s existence alone does not imply address translation or a different public identity.

These related terms are not synonyms:

  • Tunnel: encapsulation carrying traffic through another network; a tunnel need not encrypt it.
  • stunnel: a specific TLS proxy that can add TLS protection to application connections.
  • VTI: a virtual tunnel interface used by some VPN implementations. Linux route-based IPsec documentation explains VTI devices and XFRM interfaces; an interface is not the whole VPN service.

Routes and policies decide which traffic enters the VPN. Split routing, IPv6, DNS, and behavior after a disconnect must be considered separately when evaluating what the service actually covers.