← Glossary

What Is a Virtual Private Network (VPN)?

A virtual private network carries a device's traffic through an encrypted tunnel to a remote endpoint that forwards it onward. This article explains how the tunnel is built, how full and split tunneling differ, what a VPN changes about visible traffic and what it leaves untouched, and how it compares with proxies and private browsing.

Updated:

A virtual private network (VPN) provides a logical connection to a remote network over shared infrastructure. Common internet VPN services carry selected device traffic through an encrypted tunnel to a remote endpoint. The local network and internet service provider can observe that connection and its traffic patterns, but cannot normally read its protected contents. The device can then reach resources through the remote network despite being physically elsewhere.

Corporate remote-access VPNs let employees reach internal systems. Consumer VPN services often route public internet traffic through a provider's exit, changing the source address websites observe. Site-to-site VPNs connect whole networks. The details differ, and the broader VPN category includes arrangements that separate traffic without encrypting it. This article focuses on encrypted internet tunnels.

How a VPN Tunnel Works

When a VPN client connects, it negotiates keys with the server and creates a virtual network interface on the device. The operating system's routing table is updated so that selected traffic is sent to that interface instead of to the physical Wi-Fi or Ethernet adapter. Each outgoing packet is encrypted and placed inside a new outer packet whose destination is the VPN server. This wrapping is called encapsulation, and the resulting path is the VPN tunnel.

At the server, the outer packet is removed and the inner packet is decrypted and forwarded. Consumer services commonly translate the source to a public exit address; corporate or site-to-site configurations may instead route private addresses between networks. Replies return to the server, are encrypted and travel back down the tunnel. IPsec, specified in RFC 4301, formalizes this as tunnel mode: the original IP packet, header included, becomes the protected payload of a new packet whose outer header names only the two tunnel endpoints.

VPN Encryption and Protocols

Confidentiality comes from the protocol in use. IPsec's ESP component supplies encryption, integrity and anti-replay protection, with IKEv2 handling key exchange. WireGuard, a newer design that runs inside the Linux kernel and is also available on other platforms, encapsulates IP packets over UDP and relies on a small fixed set of primitives, including Curve25519 for key agreement and ChaCha20 with Poly1305 for authenticated encryption. Its cryptokey routing binds each peer's public key to the tunnel addresses that peer may use, so authentication and routing share one table. OpenVPN uses TLS for authentication and key establishment, alongside a separate protected data channel. Each design affects throughput, battery use and how easily the traffic can be distinguished from ordinary HTTPS, which is why speed is a property of the implementation and network path rather than of VPNs in general.

Full Tunneling vs Split Tunneling

Routing policy decides which traffic enters the tunnel. A full-tunnel configuration aims to send ordinary outgoing traffic through the VPN. Microsoft's Windows documentation describes force tunneling using default routes through the VPN interface. More specific routes, supported address families and client policy can still create exceptions. In a split tunneling configuration, only listed routes go through the VPN and all other traffic uses the normal connection.

Split tunneling is common in corporate deployments: internal servers are reached through the VPN while video calls and public websites take the direct path, which spares the gateway's capacity. The cost is that traffic outside the listed routes receives none of the tunnel's protection and reveals the device's real IP address to those destinations. Consumer apps often present the same idea as a per-application setting, such as excluding a banking app from the tunnel. A device with split tunneling active is partly on the VPN and partly not, which matters whenever the goal is one consistent network identity.

What a VPN Changes and What It Leaves Alone

A typical consumer VPN changes the public exit address that destinations see and protects tunneled data from the local network and ISP. DNS queries may or may not travel through the tunnel depending on client configuration, and a query that escapes to the ISP's resolver exposes the names being visited even when everything else is protected.

A VPN does not normally reset the browser's stored state. Existing cookies remain available for matching requests. Screen dimensions, exposed fonts, canvas output and user-agent information also generally remain unchanged, although a site's broader identification system may include network signals. A user signed in to an account remains that user from the site's perspective regardless of exit address. Turning a VPN on changes where traffic appears to come from; it does not reset who the browser says it is.

VPNs vs Proxies and Private Browsing

These tools are often grouped together because each touches privacy, but they operate at different layers.

PropertyVPNProxyPrivate browsing
LayerNetwork interface in the operating systemApplication protocol (HTTP, SOCKS)Browser storage
ScopeAll routed traffic on the deviceConfigured applications or protocolsOne browser window or session
Changes visible IPUsually, for consumer VPN exitsYes, for proxied connectionsNot by itself
Encrypts to the intermediaryYesDepends on protocolNot applicable
Affects cookies or fingerprintDoes not reset browser stateDoes not reset browser stateLimits retained session data; details vary

In HTTP terms a proxy is a forwarding agent that the client selects by configuration and sends requests to on its behalf. For ordinary HTTPS tunneling, the client uses CONNECT and the proxy relays the encrypted stream. Explicitly configured TLS inspection is a different arrangement with different trust requirements. Proxies are configured per application or per browser profile and handle only the protocols they support, whereas a VPN sits below the application and captures all traffic on the routed interface. The VPN vs proxy choice is therefore about scope and layer, not about which one is more private. Private browsing modes are different again: they control what the browser keeps locally and have no effect on IP address or network visibility.

Common Uses and Limitations

Typical uses include reaching internal company systems remotely, protecting traffic on untrusted Wi-Fi, checking how a service behaves from another region, and keeping a local network operator from seeing destinations. With a single full-tunnel connection, several browser profiles will commonly share the same public exit. Distinct simultaneous exits require additional routing or application-specific configuration; merely creating another profile does not establish one.

The main limitation is displaced trust. The tunnel hides traffic from the local network, but the VPN server decrypts it and sees the destination of every connection and, for unencrypted protocols, the content. A no-logging policy is a contractual promise, not a technical guarantee. Websites can recognize address ranges that belong to VPN providers and apply extra verification, and a dropped tunnel can expose the real address unless the client blocks traffic while disconnected.

Frequently asked questions

Does a VPN change browser fingerprints?

It generally leaves browser-generated signals such as fonts, screen dimensions and canvas rendering unchanged. The visible network address can change, and some identification systems include that address or other network signals in their assessment. A VPN therefore changes part of the observable environment without resetting the browser.

What does split tunneling do?

It sends selected routes or applications through the VPN while others use a different connection. This can reduce gateway load or avoid unnecessary detours. Excluded traffic does not receive the tunnel's protection, although it may still have application-level encryption such as HTTPS.

Can the VPN provider see traffic?

Yes, to a degree. The VPN server decrypts the tunnel and sees the destination of every connection, timing and volume. Content protected by HTTPS or another end-to-end protocol stays encrypted between the browser and the website, but unencrypted protocols are readable at the server.

Is a VPN the same as a proxy?

No. A proxy forwards traffic for supported applications or protocols, while many VPN clients establish broader network routing. Both can provide encrypted transport when appropriately configured. Their practical difference is which traffic they carry, where protection ends and which intermediary is trusted.

Does using a VPN make browsing anonymous?

No. It hides traffic from the local network and masks the IP address from websites, but cookies, logged-in accounts, browser fingerprints and the VPN provider's own visibility remain. Anonymity depends on the whole environment and on who is observing, not on a single network tunnel.