OnlineProxy.eu – home

Guide

What is a VPN and how does it work?

A VPN (virtual private network) builds an encrypted tunnel from your device to a server somewhere else and sends all your internet traffic through it. This guide explains, with diagrams and without jargon, how that works, what a VPN really protects you from, what it does not, and how to choose and set up a good one.

What is a VPN?

VPN stands for virtual private network. Companies first built VPNs so that employees could reach the company's internal network from home or on the road, as if they were sitting in the office. The private network is virtual because it needs no cables of its own: it runs over the ordinary, public internet, protected by encryption.

Today most people know VPNs as apps: you install one, press Connect, and from then on everything your device sends to the internet first goes through an encrypted connection to a server of the VPN provider. That server passes your traffic on to the websites and apps you use, and sends their answers back to you through the same tunnel.

A simple picture: without a VPN, your internet traffic travels like a postcard. Everyone who handles it on the way, such as the Wi-Fi network and your internet provider, can read the address and often the text. With a VPN, the postcard goes into a sealed envelope addressed to the VPN server. Only there is it taken out and sent on.

Without a VPN

Your device
Wi-Fi and internet provider
Website

With a VPN

Your device
Wi-Fi and internet provider
VPN server
Website
The same visit without and with a VPN. Everything inside the blue tunnel is encrypted.

How a VPN works, step by step

Behind the Connect button, the same things happen with every VPN, whoever the provider is:

  1. The app contacts the VPN server Your device opens a connection to the server you chose, for example one in Germany.
  2. Both sides prove who they are The server proves with a certificate or a key that it really is your provider's server and not an impostor; you sign in with your account or your own key.
  3. They agree on secret keys With a key exchange (explained below), both sides work out the same secret keys without ever sending them over the internet.
  4. A virtual network adapter appears The app adds a virtual network adapter to your system and sends all internet traffic to it instead of directly to your router.
  5. Every packet is wrapped and encrypted Each piece of data your apps send is encrypted and packed into a new packet addressed to the VPN server. This is called encapsulation.
  6. The server unwraps it and passes it on The VPN server decrypts the packet, puts its own address in place of yours and sends it to the website. The answer takes the same way back.

Leaving your device

To: VPN server · From: your IP address
Encrypted: only the VPN server can open it To: the website · From: your device
Your request: "show me this page"

Leaving the VPN server

To: the website · From: the VPN server's IP address
Your request: "show me this page"
Encapsulation: your original packet travels inside an encrypted one. The VPN server removes the outer layer and sends the original on, with its own address as the sender.

Your real IP address is only ever seen by the VPN server. To the website, the request comes from the VPN server, so it places you in the server's country. That is why a VPN changes the location websites think you are in.

Encryption, explained simply

Encryption turns readable data into something that looks like random noise; only someone with the right key can turn it back. A VPN uses four building blocks for this.

Locking the data: symmetric encryption

Once the tunnel is up, all data is encrypted with a key that both sides share. Modern VPNs use AES-256-GCM or ChaCha20-Poly1305. A 256-bit key can have 2256 different values, a number with 78 digits: trying them all is not possible with any computer that exists. Both methods also detect tampering, so a packet that was changed on the way is thrown away.

Agreeing on a key without sending it: key exchange

The key itself must never travel over the internet, so the two sides agree on it with a Diffie-Hellman key exchange, today usually its elliptic-curve version such as X25519. The idea is easiest to see with paint:

YouVisible to anyoneVPN server

1 Both sides agree on a common colour. Anyone may know it.

2 Each side picks a secret colour and never sends it.

3 Each side mixes its secret colour into the common one and sends the mixture.

+=+=

4 Each side adds its own secret colour to the mixture it received. Both end up with the same colour: the shared key.

+=An eavesdropper only has the three colours above and cannot make this one.+=
Mixing paint is easy, unmixing it is practically impossible. A key exchange does the same with maths: anyone listening sees the common value and the two mixtures, but cannot work out the shared key.

Making sure you talk to the right server: authentication

A key exchange alone does not tell you who is at the other end. So the server also proves its identity, with a certificate (OpenVPN, IKEv2) or with a public key the app already knows (WireGuard). Without this step, an attacker on the network could pretend to be the VPN server.

New keys all the time: forward secrecy

Good VPNs replace their keys regularly; WireGuard, for example, makes new ones every two minutes. Even if a key were ever stolen, it would only unlock a few minutes of traffic, not everything you sent before. This is called perfect forward secrecy. Some providers have also started to add post-quantum key exchange (such as ML-KEM), so that traffic recorded today cannot be decrypted by quantum computers in the future.

VPN protocols compared

A VPN protocol is the set of rules for building the tunnel: how the keys are agreed on, how packets are wrapped and how they travel. Most apps let you choose one; "Automatic" usually picks one of the first three.

ProtocolSpeedSecurityBest for
WireGuardVery fastStrong, modernAlmost everything; the default in most apps today
OpenVPNGoodStrongNetworks that block other VPNs: over TCP port 443 it looks like ordinary HTTPS
IKEv2/IPsecFastStrongPhones: reconnects at once when you switch between Wi-Fi and mobile data
L2TP/IPsecModerateAcceptable, datedOld devices that support nothing better
SSTPModerateGoodWindows networks
PPTPFastBrokenNothing: do not use it

What a VPN hides, and from whom

Whether a VPN protects you depends on who you want to be protected from. This table shows what each party along the way can see.

WhoWithout a VPNWith a VPN
Wi-Fi network (café, hotel, school)Which websites you visit, and the content of pages without HTTPSOnly that you use a VPN, and how much data
Your internet providerEvery website you connect to, and whenOnly a connection to the VPN server, when and how much
The VPN providerNothingYour real IP address and the websites you connect to
Websites and appsYour real IP address and approximate locationThe VPN server's IP address and location
Your accounts, cookies, browser fingerprintIdentify youStill identify you

What about HTTPS?

Almost all websites use HTTPS (the padlock in the address bar), which encrypts pages between your browser and the website. Without a VPN, your network then cannot read what you type or which page of a website you open. But it still sees the names of the websites you connect to, through DNS lookups and the name your browser sends when it connects, and it sees your IP address. A VPN hides those too, and also protects apps that do not encrypt their traffic properly.

What a VPN does not do

Types of VPN

"VPN" stands for several different things. They use the same technology for different jobs.

Personal VPN

Your device
VPN provider's server
Internet

Remote-access VPN

Laptop at home
Company VPN gateway
Company network

Site-to-site VPN

Office in Paris
Office in Berlin
The same tunnel, three jobs: privacy for one device, access to a company's network from outside, or two offices joined into one network.

Features worth knowing

Kill switch

If the VPN connection drops for a moment, your device would normally carry on over the normal connection, with your real IP address. A kill switch blocks all internet traffic until the tunnel is back.

Tunnel up

Your device
VPN server
Website

Tunnel drops, no kill switch

Your device
Website

Tunnel drops, with kill switch

Your device
Website
Without a kill switch, even a short drop can reveal your real address.

Split tunnelling

Split tunnelling lets you choose which apps or addresses use the VPN. Your browser can go through the tunnel while your banking app, a game or the printer on your home network use the normal connection.

Apps you choose

Your device
VPN server
Internet

All other apps

Your device
Home network and internet
Split tunnelling: one device, two ways out.

More features

VPN, proxy or Tor?

All three send your traffic through someone else's server, so that websites see a different IP address. They differ in what they cover and how much they protect.

Web proxy

Browser tab
Proxy server
Website

VPN

Whole device
VPN server
Website

Tor

Tor Browser
Relay 1
Relay 2
Relay 3
Website
Proxy: one stop, for one tab. VPN: one encrypted stop for the whole device. Tor: three stops, with one layer of encryption removed at each.
Web proxyVPNTor
What it coversOne website or tabEvery app on the deviceThe Tor Browser
InstallationNoneAn appThe Tor Browser
EncryptionBetween you and the proxyEverything, up to the VPN serverThree layers, up to the last relay
SpeedFastFast to moderateSlow
Who you have to trustThe proxy's operatorThe VPN providerNo single party
CostUsually freeMostly paidFree
Best forQuickly opening a blocked websitePublic Wi-Fi, changing your locationAnonymity, when your safety depends on it

OnlineProxy.eu is a web proxy, not a VPN: it opens websites for you right in your browser tab, through our server in the EU, without installing anything. That is often enough to open a website that is blocked at school, at work or in your country. It does not protect your other apps, and for legal reasons we keep logs (see Privacy). If you need anonymity, use the Tor Browser.

Open a website now

Does a VPN slow down your internet?

Usually a little. Four things decide how much:

Sometimes a VPN even makes things faster: if your internet provider deliberately slows down certain services, it cannot recognise them inside the tunnel. For the best speed, choose a server close to you and use WireGuard.

Free or paid VPN?

Running VPN servers costs money, so free VPNs have to earn it somehow. Some do it honestly, as the limited free plan of a paid service, with a data limit, fewer servers or lower speed. Others show ads, collect and sell what their users do, or have been found to contain tracking code. A study of 283 VPN apps for Android (CSIRO, 2016) found that 18 percent did not encrypt traffic at all, and 38 percent showed signs of malware.

If you want a free VPN, choose the free plan of a well-known paid provider over an unknown free app.

How to choose a VPN

How to set up a VPN and test it

  1. Download the provider's app from its own website or from your device's official app store.
  2. Sign in, turn on the kill switch and, if you can choose, select WireGuard.
  3. Choose a server: the nearest one for speed, or the country you need.
  4. Press Connect and wait until the app says you are connected.
  5. Check your IP address on a "what is my IP" website: it should now show the VPN server's address and country.
  6. Run a DNS leak test and a WebRTC leak test: neither may show your internet provider or your real address.

Phones, computers and many routers also have VPN support built in: you can enter the server details your provider gives you, for example a WireGuard configuration file, without installing its app. A VPN on your router protects every device in your home, including TVs and game consoles that cannot run a VPN app.

In most countries, including the whole EU, the United Kingdom and the United States, using a VPN is legal, and companies rely on VPNs every day. Some countries ban VPNs or allow only state-approved ones, for example China, Russia, Iran, Belarus, Turkmenistan and North Korea, and others punish using one to commit a crime. Whatever you do through a VPN must still be legal where you are, and the terms of the websites you use still apply: streaming services, for example, may refuse access from VPN servers.

Common myths

"With a VPN, I am anonymous."

Your network no longer sees what you do, and websites no longer see your IP address, but accounts, cookies and fingerprints still identify you, and the VPN provider knows your real address.

"HTTPS makes a VPN pointless."

HTTPS protects the content of pages, but not which websites you visit, and not your IP address. The two complement each other.

"Private browsing does the same."

Private (incognito) mode only stops your browser from keeping history and cookies on your device. Your network and the websites see exactly as much as before.

"A VPN protects me from hackers."

It protects you from people listening on the network, for example on public Wi-Fi. It does not protect you from malware, phishing or weak passwords.

"All VPNs are the same."

Protocols, logging, leaks and the companies behind them differ greatly, and some free apps are worse than no VPN at all.

Glossary

IP address
The number that identifies your connection on the internet, given to you by your provider. Websites use it to guess your country and city.
Tunnel
An encrypted connection that carries other connections inside it.
Encapsulation
Packing a data packet into another one, so that it can travel through the tunnel.
DNS
The internet's phone book, which turns names like wikipedia.org into IP addresses. DNS lookups often reveal which websites you visit.
Protocol
The rules two computers follow to talk to each other; for a VPN, how the tunnel is built.
Kill switch
A feature that blocks internet access while the VPN connection is down.
Split tunnelling
Sending only some apps or addresses through the VPN.
Leak
Traffic that bypasses the tunnel and reveals your real IP address or your DNS lookups.
No-logs
A provider's promise not to record what its users do.
Web proxy
A website that opens other websites for you inside your browser tab, without installing anything.
Tor
A free network that sends your traffic through three relays run by volunteers, with layered encryption, to make you anonymous.

Questions and answers

Do I need a VPN at home?

For everyday browsing at home, HTTPS already protects the content of what you do, so a VPN is not essential. It helps if you do not want your internet provider to see which websites you visit, or if you want to appear to be in another country.

Should I use a VPN on public Wi-Fi?

Yes, that is one of the best reasons to use one. In cafés, hotels, airports and trains you do not know who runs or watches the network, and a VPN keeps all your traffic out of their reach.

Does a VPN hide my browsing history?

It hides it from your network and your internet provider. Your browser still keeps its own history, websites still know what you do on them, and the VPN provider can see which websites you connect to.

Can my internet provider see that I use a VPN?

Yes. It sees a connection to a VPN server and how much data passes through it, but not what is inside. Obfuscation can make the connection look like ordinary web traffic.

Can a VPN be hacked?

No practical attacks are known against the encryption of WireGuard, OpenVPN or IKEv2. The real risks lie elsewhere: outdated protocols such as PPTP, security holes in apps or servers, leaks, and providers that keep logs.

Does a VPN work on phones?

Yes. iPhones and Android phones have VPN support built in, and VPN apps use it. WireGuard and IKEv2 handle switching between Wi-Fi and mobile data best.

Does a VPN use more data?

A little: encryption and the extra packet headers add a few percent to the amount of data you use.

Can websites tell that I use a VPN?

Often, yes. Many websites keep lists of the IP addresses of VPN servers, and some block them or ask for extra checks.

Is a web proxy safer than a VPN?

Neither is safer in general. A VPN protects every app on a device; a web proxy protects only what you open through it, but needs nothing installed. To open a single blocked website quickly, a web proxy such as OnlineProxy.eu is the easier choice.

Last updated: 13 November 2026.