vpn vs proxy proxy vs vpn vpn vs proxy difference

VPN vs proxy: the real difference, and which one you need

Adrian Maverick · · 9 min read

A proxy and a VPN both put a server between you and the internet, so sites see that server's IP address instead of yours. A proxy does it for one app at a time and usually adds no encryption of its own. A VPN does it for the whole device and encrypts everything between you and the server.

That is the difference in one paragraph. The rest of this post is the detail that decides which one you need: what the person running the server can see.

VPN vs proxy at a glance

Proxy VPN
What it covers One app or one browser, set up in that app Every app on the device
Hides your IP address from sites Yes Yes
Encrypts traffic to the server Not by itself Yes, always
Hides site names from your Wi-Fi or internet provider Usually not Yes
DNS lookups Often still go to your normal DNS Go through the tunnel
Protection if the connection drops None Kill switch, if the app has one
Typical use Changing the IP address of one program Privacy on a network you do not control

"Not by itself" needs unpacking, because there are several kinds of proxy and they behave differently.

What is a proxy, and what can it see?

A proxy is a relay you point a single program at. You type its address and port into the program's settings, and from then on that program hands its requests to the proxy, which makes them on your behalf.

What the operator of the proxy sees depends on the type.

HTTP proxy, visiting a plain HTTP site. The proxy receives the whole request in the clear: the full address, the page, anything you type into a form. It can read and change all of it. So can anyone on the network between you and the proxy.

HTTP proxy, visiting an HTTPS site. The browser sends the proxy a CONNECT request naming the site and port, and the proxy opens a tunnel. The HTTP specification, RFC 9110, says that after a successful CONNECT the proxy restricts itself to blind forwarding of data in both directions. The proxy operator sees which site you asked for and how much data moved. It does not see pages or passwords, because the HTTPS encryption runs from your browser to the site, straight through the proxy.

Your own network sees more than that. The CONNECT request to an ordinary HTTP proxy is sent unencrypted, so the Wi-Fi owner or your internet provider can read the name of every site you ask the proxy for.

SOCKS5 proxy. SOCKS5 relays any kind of connection, not only web traffic, which is why it is common in file-sharing and messaging apps. The standard is RFC 1928, published in March 1996. It defines how to ask the proxy for a connection and how to log in. It does not define encryption of what you send through it. In its own words, "The security of such traversal is highly dependent on the particular authentication and encapsulation methods provided in a particular implementation." In practice a plain SOCKS5 proxy forwards your traffic exactly as it received it.

Web proxy. This is a website with a box where you paste an address. The proxy site fetches the page and shows it to you inside its own page. Your browser's encrypted connection ends at the proxy site, so its operator can see everything you load and type, HTTPS or not.

One more leak is worth knowing. Proxies can add headers to your request that give you away. Mozilla's documentation on proxy servers and tunneling lists X-Forwarded-For, which identifies the original IP address of the client, and Via, which announces that a proxy is in the path. A proxy that sends those is telling the site the thing you were trying to hide.

What is a VPN, and what can it see?

A VPN works one layer down. Instead of asking each program to use a relay, the VPN app creates a network interface on the device and routes all traffic into it. Everything is encrypted on your device, sent to the VPN server, decrypted there and passed on.

The consequences:

  • Every app is covered, including the ones with no proxy settings.
  • DNS lookups go through the tunnel, so the network you are on does not see site names.
  • Your Wi-Fi owner and internet provider see one encrypted connection to the VPN server.
  • If the tunnel drops, a kill switch can block traffic until it is back.

The VPN operator sees what a CONNECT proxy operator sees: which sites you connect to and how much data moves, not the contents of HTTPS pages. A VPN does not make the middleman blind. It makes the path to the middleman private, and it covers the whole device.

Is a browser VPN extension a real VPN?

Usually not. It is a proxy with a VPN's name on it.

Browser extensions cannot create a network interface for the whole device. What Chrome gives them is the chrome.proxy API, which the documentation describes as a way "to manage Chrome's proxy settings." An extension built on it reroutes what the browser loads and nothing else. Your mail app, your chat app, your system updates and every other program keep using your normal connection and your real IP address.

That is fine if all you want is a different IP address in one browser. It is not what most people believe they installed. The other risk with these extensions is who runs the server, which we covered in are free VPNs safe.

How to tell which one you are running

One minute, no special tools.

  1. Turn on the thing you want to test.
  2. In your browser, open https://icanhazip.com. It prints the IP address the site sees.
  3. Open a terminal (Terminal on Mac or Linux, PowerShell on Windows) and run:
curl https://icanhazip.com
  1. Compare the two addresses.

If they match, and both differ from your address with the tool switched off, the whole device is covered. That is a VPN.

If the browser shows a new address and the terminal shows your real one, only the browser is rerouted. That is a proxy, whatever the icon says.

To check whether a proxy announces you, open http://httpbin.org/headers in the proxied browser. Use the plain http:// address on purpose: a proxy can only add headers to requests it can read. The page echoes back the headers the site received. If you see X-Forwarded-For with your real address in it, the proxy is passing your IP address along.

Which is faster, a VPN or a proxy?

A plain proxy does less work per packet, since it adds no encryption, so on paper it has less overhead. In practice the speed you get is decided by the server's distance from you, how loaded it is, and how much bandwidth the operator pays for. A crowded free proxy is slower than an uncrowded VPN server and the reverse is also true. If speed is what you are choosing on, measure your own connection both ways before deciding.

When should you use a proxy, and when a VPN?

Use a proxy when:

  • You need one program to appear from a different IP address and you do not care who can see the traffic, for example testing how a website looks from another country.
  • You run the proxy yourself, or your company does, and you know what it logs.
  • A specific app supports SOCKS5 and you want only that app rerouted.

Use a VPN when:

  • You are on a network you do not control: a cafe, a hotel, an airport, a shared flat.
  • You do not want your internet provider to keep a list of the sites you visit.
  • You want every app covered without configuring each one.
  • You want the connection encrypted between you and the server.

If you want a VPN's protection for most traffic and your normal connection for a few apps, you do not need a proxy for that. Split tunneling does it inside the VPN.

When we built Secria VPN, the whole-device part was the starting point. It runs on WireGuard with an ML-KEM-1024 post-quantum key on every connection by default, resolves DNS on our own servers inside the tunnel, and has an OS-level kill switch. Secria VPN keeps no activity logs: we do not record browsing, DNS queries or traffic contents.

FAQ

Is a proxy the same as a VPN? No. Both change the IP address sites see. A proxy reroutes one app and usually adds no encryption. A VPN reroutes and encrypts all traffic from the device.

Is a proxy safe? It depends on who runs it and what you send. On HTTPS sites a CONNECT or SOCKS5 proxy cannot read page contents, but its operator sees which sites you visit, and a web proxy sees everything. Never type a password into a web proxy you do not control.

Can I use a VPN and a proxy together? Yes. The proxied app's traffic goes through the VPN tunnel first and then to the proxy. It adds a hop and rarely adds privacy, so it is only worth doing when one app needs a specific exit address.

Does a proxy hide my browsing from my internet provider? Usually not. With an ordinary HTTP or SOCKS5 proxy, the request that names the site travels unencrypted to the proxy, so your provider can read it. A VPN hides it.

Do I need a proxy if I have a VPN? For privacy, no. A VPN already does what a proxy does and covers the whole device. A proxy on top is for narrow cases, such as giving one program a different address from the rest.

Proxies move one app. VPNs protect the device. If the second is what you were after, Secria VPN is $7.99 a month on its own or included in Secria Pro.

Secria fact-checks every post against primary sources. Spotted something wrong or out of date? Email hq@secria.me and we will correct it.