Skip to content

What Is a VPN? How a Virtual Private Network Works

By Milos Nikolic
What Is A Vpn
© Gizmodo (VPN Meaning and Definition)

Switch on a VPN on a phone, and a small “VPN” badge or key icon appears next to the battery. Nothing else on the screen changes. Yet every app on the device now sends its data to a VPN server before it goes out to the internet.

The VPN meaning is simple enough. A virtual private network encrypts the data your device sends and passes it through a server operated by the VPN company.

Websites then record the VPN server’s IP address as yours, and your internet provider sees scrambled data heading to one destination. The same change explains what a VPN can’t do, and that part rarely makes it into VPN ads.

VPN Meaning: What Does VPN Stand For?

VPN stands for virtual private network, and each word describes one part of the idea:

  • Virtual: the connection is built in software over the ordinary internet, with no dedicated cable between you and the network you join.
  • Private: everything sent through it is encrypted, so the network it travels over can’t read it.
  • Network: your device joins the VPN company’s network and receives an IP address from it.

The idea is older than VPN apps. In March 1996, Microsoft and a group of networking companies announced PPTP, one of the first VPN protocols. It let employees connect to office systems from home over a dial-up line. Companies still use VPNs for that.

Consumer VPNs apply the same idea to everyday browsing, with the VPN company’s servers standing in for the office network.

How Does a VPN Work?

When you press Connect in a VPN app, three steps happen before the first website loads:

  1. Authentication. The app proves your account is valid, and your device and the VPN server agree on encryption keys for the session. Some VPNs now add post-quantum key exchange at this step, designed to protect recorded traffic from future quantum computers.
  2. Encryption. Data leaving your device is locked with AES-256 or ChaCha20, the same class of encryption banks use, so intercepted traffic is unreadable.
  3. Encapsulation. Each encrypted packet goes inside another packet addressed to the VPN server, like a letter sealed in a second envelope. This wrapped, encrypted path is what people call the VPN tunnel.
Nordvpn Vpn Explained
© NordVPN

At the other end, the VPN server opens the outer envelope and decrypts the request. It then sends the request on to the website from its own IP address.

Replies take the same path back. The server encrypts them, returns them through the tunnel, and the app decrypts them on your device. In practice, browsing looks the same as before, apart from a small speed loss that grows with the distance to the server.

What Is a VPN Server?

A VPN server is a computer in a data center running VPN software. It decrypts your traffic, forwards each request under its own IP address, and returns the replies.

Large VPNs operate thousands of them in more than 100 countries. Choosing a server’s country is how you choose the location websites see. Many people use each server’s IP address at the same time, and that’s part of the privacy.

A site that logs the IP address can’t tell one VPN user from another by the IP address alone. Many VPNs also use RAM-only servers, which keep nothing on a hard drive, so a reboot erases everything on them.

What Does a VPN Do?

A VPN changes two things: the IP address the outside world sees, and who can read your traffic along the way. Here’s what each party can see with the VPN off and on:

Who Without a VPN With a VPN
Your ISP or mobile carrier Every domain you visit and when One encrypted link to the VPN’s server
Public Wi-Fi owner or others on the network The domains you visit, plus any unencrypted traffic Encrypted data going to one server
Websites and apps Your IP address and approximate location The server’s IP address and location
The VPN company Nothing The sites you connect to, unless it keeps no logs
Accounts you’re signed in to Who you are Who you are

Most websites already use HTTPS, which encrypts the page content between your browser and the site. Still, your ISP can see the site’s name, and the site sees your own IP address. A VPN covers both. It also covers apps that send data outside the browser.

DNS is the other piece. Before a site loads, your device asks a DNS server for the site’s IP address, and by default that question goes to your ISP. A good VPN answers these lookups on its own servers, so the ISP never receives the list of domains you visit.

That record has value. In the UK, the Investigatory Powers Act lets the government require ISPs to keep connection records for up to 12 months. In the US, Congress overturned the FCC’s broadband privacy rules in 2017. Because websites see the server’s location, the VPN also changes what they show you.

A streaming service lists the catalog for the server’s country, which is how a VPN unblocks a Netflix library from another country. For the same reason, a bank app from home keeps working on a trip abroad. School, office, and national filters act on the destination as well, and the only destination they see is the VPN server.

Those effects add up to the everyday reasons people subscribe, from public Wi-Fi to private torrenting, all covered in why use a VPN.

What a VPN Doesn’t Hide

A VPN changes how your traffic travels, while your identity online remains the same. Google, Facebook, or an online store knows exactly who’s signed in, regardless of which country the connection appears to come from.

Cookies and browser fingerprinting, which recognize a browser from details such as its fonts and screen size, keep working as well. A VPN doesn’t scan downloads for malware either. Every request now passes through the VPN company’s servers instead of your ISP’s, so the VPN takes over the view the ISP had.

Its no-logs policy decides how private that view remains. Unknown free apps tend to fund themselves with that data, while free plans from established VPNs limit data, speed, or servers instead. Nor does a VPN change the law.

Most countries allow VPNs, the US and the UK among them, while China, Iran, Russia and Turkmenistan restrict them. Turning a VPN on doesn’t make an illegal act legal.

Types of VPN

Most people mean a personal VPN when they say VPN, but the same technology comes in several forms:

  • Personal VPN: the consumer service, paid as a subscription. You install the app on every phone and computer you want covered, then connect to the company’s servers for privacy and a different location.
  • Browser extension: a VPN’s Chrome or Firefox add-on protects traffic in that browser only, while every other app uses your normal connection. Extensions usually lack a kill switch, the setting that blocks traffic when the VPN connection fails.
  • Router VPN: installed on the router itself, so every device on the home network goes through it, including smart TVs and consoles with no VPN app. The router’s processor limits the speed.
  • Remote access VPN: what employers set up so staff can open internal systems from home. The destination is the company network, and the open internet remains outside it.
  • Site-to-site VPN: a permanent encrypted link between two office networks, configured on routers and firewalls.

A personal VPN has trade-offs too, from a small speed loss to renewal prices above the first term. They’re weighed in the pros and cons of a VPN.

Which Protocols Do VPNs Use?

Most VPNs today use WireGuard, OpenVPN, or IKEv2, and some add a protocol of their own. A protocol is the set of rules a VPN uses to build the tunnel, and each one balances speed and compatibility differently.

Most apps choose one automatically, and the default suits everyday use.

Protocol Strength Best for
WireGuard Fast, modern, small codebase Everyday use on any device
OpenVPN Older, widely audited Routers and restrictive networks
IKEv2/IPsec Reconnects quickly after a network change Phones moving between Wi-Fi and mobile data
NordLynx, Lightway Brand protocols: NordLynx builds on WireGuard, Lightway is ExpressVPN’s own Everyday use in those VPNs’ apps
NordWhisper, Stealth Disguises VPN traffic as regular web traffic Networks that block VPNs
PPTP Obsolete, with known security flaws Nothing today

On hotel, school, or office Wi-Fi that filters VPN traffic, switching to an obfuscated protocol usually restores the connection.

How Does a VPN Compare With Other Privacy Tools?

Three other tools also change what websites see, and each covers less than a VPN:

  • Proxy: a proxy server replaces your IP address with its own, usually for one app or browser. Many proxies leave the data unencrypted, which lets your ISP read it as before. Proxy vs VPN compares the two in detail.
  • Tor: the Tor Browser bounces traffic across three relays operated by volunteers, and each relay knows only the one before and after it. That makes it stronger for anonymity but much slower, and many streaming services and banks block it.
  • Smart DNS: Smart DNS redirects only the DNS requests that reveal your location to a streaming service. It works on smart TVs with no VPN app, but it doesn’t encrypt your traffic or change your IP address.

Of the four, only a VPN encrypts every app on the device and changes your IP address at the same time.

Conclusion

A VPN, in one line, is an encrypted connection to a server that stands in for you online. That single change decides who sees your traffic: your ISP and the Wi-Fi owner lose the view, websites see a different IP address, and the VPN company takes over what the ISP used to see. For that reason, choosing a VPN is mostly choosing a company to trust.

The thing to look for is a no-logs policy that outside auditors have confirmed. A VPN works alongside careful browsing habits and doesn’t replace them. And when a site you trust stops working with the VPN on, a server located in your home country usually fixes it while the encryption remains in place.

Try NordVPN Today


Frequently Asked Questions

What is a VPN app?

A VPN app is the program that connects a phone, computer or TV to a VPN service. It signs in, sets up the encryption and lets the user choose a server country.

What does VPN mean on an iPhone?

A VPN label in an iPhone's status bar or Settings means a VPN profile is connected. Traffic from the phone's apps passes through that VPN's server before reaching the internet.

Does a VPN work on mobile data?

Yes. A VPN encrypts mobile data traffic exactly as it does on Wi-Fi. The carrier sees encrypted traffic headed for one server, and apps see the server's IP address.

Can a VPN protect only some apps?

Yes, through split tunneling, a setting that sends chosen apps through the VPN while others use the normal connection. Banking apps and local streaming apps are common exceptions.