What is a VPN: the meaning, how it works and what it hides

A VPN, or virtual private network, is an encrypted tunnel from your phone or computer to a server somewhere else: all your traffic goes through it, and sites see the server's address instead of yours. Your Wi-Fi owner or mobile operator then sees only that a tunnel exists, not which sites you open. It doesn't make you invisible, because the server sees what the operator used to see and an account you sign in to still knows it's you. To use a VPN you need an app and a server for it to connect to.

Updated

My IP: address, country and ISP

Where Veli fits in. Veli is the app half: a free VPN client for Windows, macOS, Linux and Android that connects to the server you give it.

Download Veli for free
On this page

VPN meaning: what the three letters stand for

The full form of VPN is virtual private network. Virtual, because there is no cable of its own: the tunnel runs over the internet you already have. Private, because what travels through it is encrypted and can be read only at its two ends. Network, because to the rest of the internet your device looks as if it sat inside the server's network.

The idea is older than VPN apps on phones. Companies used it so that someone working from home could reach the office network as if they were at their desk, and security standards still describe a VPN that way: a virtual network built on top of existing networks that gives a protected channel. Point the same tunnel at a server on the internet instead of an office, and you have what most people mean by a VPN today.

So “VPN meaning in a computer” and “VPN meaning on my phone” have one answer: a connection that wraps everything the device sends and takes it to one server first. What people use that for:

  • Public Wi-Fi. In a café, hotel or airport, the owner of the network can't see which sites you open, and nobody on it can tamper with your traffic.
  • Privacy from your provider. Your home internet provider or mobile operator sees one tunnel to one server instead of the list of sites you visit.
  • Another address for sites. Sites see the server's IP address and its country, not yours.
  • Reaching a private network. The office network, or your own home network when you are away: the original use.
  • Sites that don't open on your network. When something is out of reach where you are, a server in another network may still reach it. Whether it does depends on the server and the site, not on the word VPN.

How a VPN works, step by step

Here is the path of one request, say opening a web page, with the VPN on.

  1. 1

    The app takes the traffic

    A VPN app creates a virtual network adapter on the device and tells the system to send traffic into it. Other programs need no settings: they send data as usual, and it lands in the app.

  2. 2

    It is encrypted and wrapped

    The app encrypts each piece and puts it inside ordinary packets addressed to the VPN server. On the wire there is now one connection: from you to that server.

  3. 3

    The server opens the site

    The server decrypts the request and passes it on to the site from its own address. As far as the site knows, the request came from the server.

  4. 4

    The answer comes back the same way

    The site replies to the server, the server encrypts the reply and sends it down the tunnel, and the app hands it to the program that asked.

  • DNS goes inside too. Before opening a site the device asks which address the name belongs to. In a well-made VPN these questions also go through the tunnel; if they don't, the provider still sees the names of the sites. That is called a DNS leak.
  • The protocol is the language of the tunnel. WireGuard, OpenVPN and IKEv2 are the classic ones. VLESS, Trojan, Shadowsocks and Hysteria2 were made for networks that block VPNs: they try to look like ordinary web traffic, or like random noise. The app and the server must speak the same protocol, which is why a VPN link or file always names it.

What a VPN hides and what it doesn't

Who sees what, with a VPN and without one:

  • The sites and apps you use

    Without a VPNYour IP address, and from it roughly your city and provider

    With a VPNThe server's address and its country

  • Your Wi-Fi owner, provider or mobile operator

    Without a VPNWhich sites you open (their names and addresses), when, and how much

    With a VPNThat you are connected to one server, when, and how much; not where you go

  • The VPN server, that is, whoever runs it

    Without a VPNNothing

    With a VPNWhat the operator used to see: which sites, and when. Pages on HTTPS stay encrypted from it too

  • An account you sign in to

    Without a VPNYou

    With a VPNStill you

  • Trust moves, it doesn't vanish. The server takes the place your provider had, so it matters who runs it: more on that in the next section.
  • It isn't antivirus. A malicious file or a phishing page reaches you through the tunnel just as well.
  • It doesn't make you anonymous. Logins, cookies and the browser itself tell sites who you are, whatever the address.
  • It doesn't hide your location from apps. An app allowed to use GPS knows where the phone is.
  • It can confuse banks and local sites. They see a foreign address and may ask for extra checks or refuse. Most VPN apps can leave such sites outside the tunnel; this is called split tunneling.

A VPN service, a VPN app and your own server: three different things

Much of the confusion around VPNs comes from one word being used for three things.

  • A VPN service

    What it isA company that runs servers and gives access to them, free or paid

    What you get from itAn account and a link, key, file or subscription; often its own app as well

  • A VPN app (client)

    What it isThe program on your device that builds the tunnel

    What you get from itThe connect button. A service's own app works with that service's servers; a standalone client works with any server you give it

  • Your own server

    What it isA rented server (VPS) with VPN software on it

    What you get from itA server only you use, with the address of that hosting

  • You always need both halves: an app and a server. A service's own app ships them together, so they look like one thing.
  • A standalone client is only the app. Veli is one: you bring the server, either from a service or by setting up your own.
  • A “VPN config” is the bridge between them: the address, protocol and keys of a server, written as a link, a subscription address or a file.

The VPN icon and the VPN entry in phone settings

  • Android: the key. While a VPN is active, the status bar shows a key icon and the Quick Settings panel has a line about the connection. Apps you have allowed to make a VPN are listed in Settings → Network & internet → VPN; on some brands it sits elsewhere, so search the settings for VPN. Only one VPN app can be active at a time: starting another stops the first.
  • iPhone: the VPN icon. It appears in the status bar while iPhone is connected through a VPN; on models with Face ID look at the top of Control Center. VPN configurations live in Settings → General → VPN & Device Management.
  • Windows and Mac. The system's own VPN settings hold the built-in connections. A separate VPN app shows its state with its own icon in the taskbar corner or the menu bar.
  • A VPN you don't remember adding. Those settings show which app it belongs to. A phone or laptop from work or school may have one set up by the administrator.

How to turn a VPN on and off

  • In the app. Usually one big button: press to connect, press again to disconnect. The first time, the phone asks you to allow the app to set up a VPN; without that the tunnel can't come up.
  • From the system. Android: Settings → Network & internet → VPN, then the gear next to the app. iPhone: Settings → General → VPN & Device Management. Windows: the VPN tile in quick settings turns on a connection made in Windows itself.
  • If it comes back on by itself, something was set to do that: Always-on VPN on Android, or a start-up setting in the app. Turn it off in the same place.
  • If the internet is gone after you disconnect, a kill switch may be holding it closed. Connect and disconnect again in the app, or turn the kill switch off; on Android also check “Block connections without VPN” next to Always-on VPN.

Sources

How we write and check

In Veli

Where Veli fits in

Veli is the app half: a free VPN client for Windows, macOS, Linux and Android that connects to the server you give it. It has no servers of its own and asks for no sign-up.

Paste a link, key or subscription from a VPN service into Profiles → Add, or choose “Your own server” there: the app logs in to a rented server and installs the VPN itself. Then the big button on Home connects. Diagnostics → “Check everything” shows which address and DNS servers sites see, and Apps and sites keeps a bank or local sites outside the tunnel. There is no app for iPhone.

FAQ

Does a VPN slow down the internet?

Usually a little. Traffic takes a detour through the server, and headers and encryption take a small share of the speed. A distant or crowded server costs the most; with a nearby one the difference is often hard to notice. Compare a speed test with the VPN on and off.

Does a VPN drain the battery?

Somewhat, and the setup matters more than the VPN itself. On a phone, what costs most is waking the radio: WireGuard stays silent when nothing is being sent, but with PersistentKeepalive set to 25 it sends a packet every 25 seconds all day. A weak signal, where the app keeps reconnecting, costs more, and Always-on VPN or connecting at startup keeps the tunnel up around the clock.

Is it safe to use a VPN?

The technology is standard and well tested. The real question is whom you trust with your traffic: the server sees which sites you open, so choose a service whose rules about logs you accept, or run your own server. Install VPN apps only from their official site or store.

Is using a VPN legal?

That depends on the country. In many places a VPN is an ordinary tool for companies and people alike, while some countries restrict VPN services or apps. What is illegal without a VPN stays illegal with one. If in doubt, read your country's law rather than an app's advert.

What is the difference between a VPN and a proxy?

A proxy usually carries the traffic of one program that is set to use it, often without encryption of its own; a VPN takes the whole device and encrypts everything up to the server.

Can my provider see that I use a VPN?

It sees a connection to one server and how much passes through it, but not what is inside. Whether it can tell that this is a VPN depends on the protocol: WireGuard, by its own documentation, doesn't try to hide it, while VLESS with Reality is made to look like an ordinary visit to a website.

Got the idea? Now the app

Veli is a free VPN client for Windows, macOS, Linux and Android, with no sign-up. Add a server from a VPN service, or let the app set up your own.