What is a VPN and how does it work? A plain-English guide

By Zuno teamPublished 6 min readاین مقاله را به فارسی بخوانید

Short answer

A VPN builds an encrypted tunnel between your device and a server somewhere else. Your internet provider only sees that you are connected to that server, not which sites you open, and websites see the server's IP address instead of yours. It improves privacy and access, but it does not make you anonymous.

Most people switch on a VPN the way they switch on a light: tap, wait, done. That is fine until something stops working, or until you need to decide which service to trust with your traffic. Knowing what a VPN actually does makes both of those easier.

This guide explains, without jargon, how a VPN works, what "tunnel" and "encryption" mean in practice, and, just as important, where a VPN's protection ends. It is written with heavily filtered networks such as Iran's in mind, where people often call any circumvention tool a "filter-breaker" (filtershekan).

What is a VPN?

VPN stands for Virtual Private Network. The technology was built for companies, so staff could reach the office network safely from home or while travelling. The idea is simple: over the public internet, create a private, encrypted path between two points that outsiders cannot read.

Today most people use a VPN for one or both of two reasons:

  • Access: reaching websites and services that the local network blocks.
  • Privacy: hiding the contents of your traffic from your internet provider, a public Wi-Fi operator, or anyone else sitting between you and the wider internet.

How a VPN works, step by step

Without a VPN, your request to open a website goes from your router or SIM straight to your provider and on to the site. The provider can see which domain you are connecting to and, if it is on a block list, cut the connection.

With a VPN, the path changes:

  1. The VPN app on your device connects to a VPN server in another country.
  2. The two sides agree on encryption keys. From then on, everything between them is encrypted.
  3. When you open a site, your request travels inside this encrypted "tunnel" to the VPN server.
  4. The server makes the request on your behalf and sends the answer back through the tunnel.

Your provider now sees only encrypted data flowing to one server. The website sees the server's IP address, not yours.

What the "tunnel" really is

The tunnel is a metaphor for wrapping. Each of your data packets is placed inside another packet addressed to the VPN server. Networks along the way see only the outer label. At the server, the outer layer comes off and the original packet continues to its real destination.

Why encryption matters

Wrapping alone is not enough: if the inner packet were readable, anyone on the path could read it. Encryption scrambles the contents so that only the holder of the right key can open them. Modern protocols use standard algorithms that are not practically breakable with today's computing power, as long as they are implemented and configured correctly.

Protocols: the rules of the tunnel

A protocol defines how the tunnel is built, how keys are exchanged and what the traffic looks like on the wire. OpenVPN, IKEv2 and WireGuard were designed for security and speed, not for hiding. Their traffic has recognisable patterns, and censorship systems can detect them.

That is why, on heavily filtered networks, a newer family of protocols has become common. Their main goal is to make a tunnel look like an ordinary visit to a normal website. VLESS with REALITY and Trojan are the best-known examples. Our plain-language protocol guide compares them, and the protocols page lists what Zuno supports.

What a VPN protects you from

A good, correctly configured VPN:

  • Hides the contents of your traffic from your provider and the local network. The café's Wi-Fi owner or your mobile operator cannot see which pages you read or what you send.
  • Hides your real IP address from websites. They see the server's address instead.
  • Gets around blocking, because the provider cannot see the real destination to block it (though censors may target the VPN connection itself, as explained below).
  • Reduces risk on public Wi-Fi, where traffic can otherwise be snooped on or tampered with.

What a VPN does not protect you from

This is where most misunderstandings live.

  • It does not make you anonymous. If you log in to Instagram, Gmail or Telegram, those services know exactly who you are, whatever IP you connect from.
  • It does not stop malware or phishing. Download an infected file or type your password into a fake page and the VPN cannot help. Some services block known malicious domains (Zuno's Android app has a switch for this, called CleanWeb), but that is not a substitute for care.
  • You have to trust the VPN provider. The server is where your traffic leaves the tunnel. If its operator logs and sells data, you have only moved the problem. Read the provider's logging policy; ours is on the no-logs page.
  • Leaks bypass the tunnel. DNS lookups or WebRTC can escape through your normal connection. Our leak test checks for this in your browser.
  • A drop without a kill switch exposes you. If the tunnel falls and nothing blocks traffic, apps quietly carry on over your normal connection.

A VPN hides your traffic and IP address from the network. It does not hide who you are from services you are signed in to.

Why VPNs sometimes stop working in Iran

Censorship systems do not only block websites; they also go after the tools used to get around them. Common methods include blocking server IP addresses, deep packet inspection (DPI) that recognises protocol fingerprints even when the contents are encrypted, throttling UDP or long-lived connections at certain times, and, at the most extreme, cutting off most international access while domestic services keep running.

No VPN can promise to stay connected under every condition. Services built for Iran usually offer several protocols and several routes, and switch when one is blocked. We go deeper in why VPNs get blocked in Iran.

Using a VPN well

A few habits make a real difference:

  1. Install apps only from the provider's official site or a trusted store, never from random files shared in chat groups.
  2. Keep the kill switch on where the app has one.
  3. Run a leak test once after connecting.
  4. Leave protocol selection on automatic unless you have a specific reason to change it.
  5. Keep your operating system and apps updated; a VPN is not a replacement for security patches.

If you are choosing a service, our guide on how to choose a VPN for Iran lists the criteria that matter, and the setup guides cover each device.

Frequently asked questions

Does a VPN slow down my internet?

Usually a little, because traffic takes a longer route and encryption costs some processing. Distance to the server, the quality of your own connection and interference on the network matter far more than encryption itself.

Does a VPN make me anonymous?

No. It hides your IP address and traffic from the network, but sites and apps you are signed in to still know who you are, and the VPN provider is in a position you have to trust.

Is a proxy the same as a VPN?

Not quite. A proxy usually forwards traffic for one app or one browser and may not encrypt it, while a VPN typically carries all of a device's traffic through an encrypted tunnel.

Why does my VPN connect some days and not others?

The server's IP address may have been blocked, your protocol may have been fingerprinted, or wider restrictions may be in force at that time. A service with several protocols and automatic failover gives you a better chance of staying online.

Useful guides

Related articles

Start free trial · See plans · All articles