Blocking

VPN vs proxy: what's the difference and which app to use

VPN vs proxy comes down to scope and encryption. A classic proxy, such as HTTP or SOCKS5, relays traffic only for the apps set up to use it and usually doesn’t encrypt it, so it mostly changes the IP address those apps show to websites. A VPN encrypts all of your device’s traffic at the network layer, and encrypted proxy protocols like VLESS, Shadowsocks and Hysteria2 sit in between: clients can run them for the whole device, which is why VPN apps include them.

Published 26 November 202610 min readBy the Phoenix VPN team

VPN vs proxy illustration: several glowing lines run together through one wide tunnel, above a single dashed line with one dot on it
On this page

What a proxy does

A proxy is a server that makes requests on your behalf. Your app connects to the proxy, the proxy connects to the website, and the website sees the proxy’s IP address rather than yours. Even that isn’t guaranteed: some HTTP proxies pass your original address on in headers such as X-Forwarded-For (MDN on proxy servers).

HTTP and SOCKS5 proxies

Two kinds are common:

  • HTTP proxies are built for web traffic. For an HTTPS site, the app sends a CONNECT request with the site’s name and port, and the proxy then relays the encrypted connection blindly in both directions (MDN on CONNECT).
  • SOCKS5 proxies work a level lower: they relay connections whatever protocol runs inside, so they suit apps beyond the browser, and they can carry UDP as well as TCP (RFC 1928), though not every proxy or app supports UDP.

One app at a time

A proxy only handles traffic sent to it. You enter it in an app’s settings, such as a browser or a messaging app, or set a system proxy that each app may use or ignore. Android’s Wi-Fi settings warn about this when you enter a manual proxy: “The HTTP proxy is used by the browser but may not be used by the other apps” (Android Settings source). Everything else keeps your normal connection and your real IP address.

Usually no encryption

HTTP and SOCKS proxies don’t encrypt the connection between your app and the proxy. The curl project’s guide calls them “clear text protocols” that someone on your local network, or near the proxy, could eavesdrop on (Everything curl). In practice:

  • The network can see that you use a proxy and which sites you open, because their names travel in the CONNECT or SOCKS request.
  • Anything sent over plain HTTP can be read on the way, including your login for the proxy.
  • HTTPS sites stay protected: TLS encrypts everything between your app and the website (MDN on HTTPS), and the proxy only relays it.
  • With SOCKS5, an app may still look up site names through your usual DNS; curl, for example, has separate socks5 and socks5h modes to control this (Everything curl).

An HTTPS proxy, reached over TLS, encrypts that first hop, but only if both the app and the proxy support it.

What a VPN does

A VPN, or virtual private network, works at the network layer, below the apps. The VPN app creates a virtual network interface and routes the device’s traffic into it, so the operating system hands it every outgoing IP packet, whichever app sent it. The app encrypts the packets and sends them through a tunnel to the VPN server, which passes them on. Android’s developer documentation describes this design: a virtual interface, routing rules, and packets exchanged “with the remote server over a tunnel” (Android VpnService).

This kind of interface is often called a TUN device. To the system it looks like a network card, but a program on the other end reads and writes the IP packets (Linux TUN/TAP documentation). On Windows, many apps use Wintun, a TUN driver originally created for WireGuard (Wintun). WireGuard itself is a lean, modern VPN protocol that runs over UDP (WireGuard).

What that means for you:

  • Every app is covered, including games, calls, system updates and apps with no proxy settings.
  • Any IP traffic goes through: TCP, UDP and the rest, such as ping.
  • The local network sees encrypted packets going to one server, not the sites you open. It may still recognise the protocol: WireGuard says it does not focus on obfuscation (WireGuard known limitations), so networks that look for VPNs can spot it and block WireGuard.
  • Websites see the VPN server’s IP address.

A VPN moves trust rather than removing it: like a proxy’s operator, the provider sees where your traffic goes, so its logging policy matters.

A proxy

  1. One appOnly the app set to use the proxy
  2. Proxy serverRelays that app's traffic, often unencrypted
  3. WebsiteSees the proxy's IP address

A VPN

  1. All appsBrowser, games, calls and system services
  2. Encrypted tunnelEvery app's packets, encrypted between device and server
  3. VPN serverDecrypts the traffic and sends it on
  4. InternetWebsites see the VPN server's IP address
A proxy relays one app's traffic, often without encryption; a VPN carries the whole device's traffic through one encrypted tunnel.

Encrypted proxy protocols: VLESS, Shadowsocks and Hysteria2

VLESS, Shadowsocks and Hysteria2 are proxy protocols by design. Shadowsocks calls itself “a secure split proxy loosely based on SOCKS5” (Shadowsocks docs), Hysteria describes itself as a censorship-resistant proxy (Hysteria), and VLESS carries traffic between an Xray client and server (Xray VLESS docs).

Unlike HTTP and SOCKS5 proxies, they encrypt the connection between your device and the server (VLESS relies on TLS or REALITY for this), so the local network can’t read your traffic or the addresses you ask the server to reach. They are also built to be hard to recognise:

  • VLESS + REALITY looks like a TLS 1.3 connection to a well-known website.
  • Shadowsocks 2022 traffic is “indistinguishable from a random byte stream”, says its specification (SIP022).
  • Hysteria2 masquerades as standard HTTP/3 traffic (Hysteria).

That is why these protocols turn up in VPN apps. On networks that use deep packet inspection (DPI) to spot and block VPN protocols, a connection that looks like ordinary web traffic, or like nothing in particular, stands a better chance of getting through. None of them is invisible, though: the server’s IP address can still be blocked, and traffic patterns can still be analysed.

TUN mode: a proxy for the whole device

This is where “is a proxy a VPN?” stops having a simple answer. Clients for these protocols usually work in one of two modes:

  • Proxy mode. The client opens a local SOCKS5 or HTTP proxy on your device, often set as the system proxy. Only apps that use it are covered, as with a classic proxy, but the trip to the server is encrypted. Hysteria’s client, for example, offers both (Hysteria client docs).
  • TUN mode, often called VPN mode on Android. Like a VPN, TUN mode “creates a virtual network interface in the system and uses the system’s routes to capture and redirect traffic”, as Hysteria’s documentation puts it (Hysteria client docs), and the client sends that traffic through the proxy protocol. Xray has a TUN inbound as well (Xray TUN docs).

Popular clients offer the same choice: v2rayN on Windows has system proxy and TUN settings, v2rayNG on Android has VPN and proxy-only modes, and Hiddify offers “VPN or proxy mode” (Hiddify). On Android, apps usually capture all traffic through the system’s VPN service, so Android treats them as VPNs: you approve the first connection, a notification stays on while it runs, and only one VPN connection can run at a time (Android VpnService).

In TUN mode, an encrypted proxy protocol does a VPN’s job for the whole device, with a few differences. Hysteria notes that, unlike “traditional L3 VPNs (such as WireGuard and OpenVPN)”, its TUN mode handles only TCP and UDP and answers ping locally (Hysteria client docs), so a ping reply doesn’t prove a site is reachable. Xray’s documentation adds that even with routes in place, the system’s DNS may leak outside the TUN interface unless you configure it (Xray TUN docs).

VPN vs proxy compared

The difference between a VPN and a proxy is mostly scope and encryption, with the encrypted proxy protocols in between. The table shows typical behaviour; real results, speed included, depend more on the server, the route, the app and your network than on the category.

Classic proxy (HTTP, SOCKS5) Encrypted proxy protocol (VLESS, Shadowsocks, Hysteria2) VPN (for example WireGuard)
Scope Only apps set up to use it Apps using its local proxy, or the whole device in TUN mode The whole device, minus anything excluded with split tunneling
Encryption None on the way to the proxy; HTTPS sites stay encrypted end to end Between your device and the server Between your device and the VPN server
What the local network sees That you use a proxy, the sites you open, any plain HTTP content Encrypted traffic to the server, shaped like HTTPS, random bytes or HTTP/3 Encrypted packets to the server; the protocol may be recognisable
What websites see The proxy’s IP, for proxied apps only The server’s IP The VPN server’s IP
Traffic it carries TCP; SOCKS5 can also carry UDP TCP and UDP Any IP traffic, including ping
Speed No encryption overhead; often limited by the proxy’s load and distance Low overhead that varies by protocol; Hysteria2 is built for lossy links Low overhead; WireGuard is lean and efficient
Typical use Another IP for one browser or app; networks that require a proxy Networks that detect and block VPNs Protecting all traffic on public Wi-Fi; reaching a home or office network

When a proxy is enough and when you need a VPN

Most proxy vs VPN advice comes down to what you need covered.

A classic proxy is enough when one browser or app needs another IP address and nothing sensitive leaves HTTPS. It is quick to set up and leaves the rest of the device alone. Be careful with free proxies from public lists: whoever runs one can read anything that isn’t HTTPS and change plain HTTP pages on the way.

A VPN is the better fit when you want everything on the device protected, for example on café, hotel or airport Wi-Fi, or when an app has no proxy settings at all. If a banking app or a local service won’t work over the VPN, split tunneling can send it around the tunnel while the VPN stays on.

An encrypted proxy protocol fits networks that detect and block VPNs, such as some office, school or hotel Wi-Fi, mobile networks, and countries that filter traffic with DPI. Run it in TUN mode to cover the whole device. Which protocol works best depends on the network; see our comparison of VPN protocols.

Proxy protocols and WireGuard in one VPN app

Phoenix VPN is a VPN app with both kinds of protocol inside: VLESS + REALITY, Hysteria2 and Shadowsocks from the proxy world, and WireGuard from the VPN world, all four in every plan. Standard WireGuard isn’t designed to mask traffic from DPI; the other three are built to be harder to recognise, each in its own way.

Smart Connection checks which protocols get through on your network, picks the best country and connects in one tap, with nothing to configure, or you can pick the protocol and the country yourself. With split tunneling (Exclusions), chosen countries, apps and websites go around the tunnel, and the rest stays in the VPN.

Running your own proxy or VPN server is a good option if you enjoy it: you control every setting. Here is what each route takes.

Set it up yourself Phoenix VPN
Server Rent a VPS outside the restricted network and keep its software updated Phoenix’s dedicated servers with multi-gigabit links
Protocols A separate setup for each: Xray for VLESS + REALITY, a Hysteria2 or Shadowsocks server, WireGuard VLESS + REALITY, Hysteria2, Shadowsocks and WireGuard, all in every plan
Which traffic goes through Pick system proxy, TUN or VPN mode in each client, set routes, keep DNS in the tunnel Exclusions: chosen countries, apps and websites go around the tunnel, the rest stays in the VPN; on all four protocols the app protects the whole device, with no proxy-only mode
When a protocol gets blocked Test the others and switch profiles on every device Smart Connection checks which protocols get through on your network, picks the best country and connects
Client apps v2rayN, v2rayNG, Hiddify or the WireGuard app, each with profiles to keep updated VPN apps for Windows, Android and Android TV; iPhone/iPad and macOS coming soon
Logs You decide what your server logs; you also rely on your hosting provider No activity logs: browsing history, DNS queries and traffic content are not stored
Devices As many as your server and setup handle Ember 3, Phoenix 6, Inferno 10
Time to connect Often an hour or more the first time Install the app, then one tap

If you go the DIY route, our guide to VLESS clients compares the main apps.

In short: a classic proxy changes one app’s address, a VPN protects the whole device, and encrypted proxy protocols help where VPNs are blocked. Phoenix VPN, an obfuscated VPN app for networks that block VPNs, puts the proxy protocols and WireGuard in one app. To try it on your own network, the Phoenix and Inferno plans come with a 3-day free trial, and you can cancel anytime. Compare plans or download Phoenix VPN.

Frequently asked questions

Is a proxy a VPN?

No. A classic proxy, such as HTTP or SOCKS5, relays traffic only for the apps set up to use it and usually doesn't encrypt it, while a VPN encrypts all of a device's traffic at the network layer. Encrypted proxy protocols like VLESS or Shadowsocks can do a VPN's job when a client runs them for the whole device in TUN mode.

Does a proxy encrypt my traffic?

A classic HTTP or SOCKS5 proxy doesn't: the connection between your app and the proxy is in clear text. HTTPS websites stay encrypted end to end anyway, but the network can see which sites you open. Encrypted proxy protocols such as VLESS, Shadowsocks and Hysteria2 do encrypt the connection to the server.

Is a VPN better than a proxy?

For protecting everything on a device, usually yes: a VPN covers every app and encrypts the traffic. A proxy is lighter and is enough when one browser or app only needs a different IP address. On networks that block VPNs, an encrypted proxy protocol may connect where a classic VPN protocol doesn't.

Why do VPN apps include proxy protocols like VLESS and Shadowsocks?

Because they are built to be harder to recognise than classic VPN protocols, which helps on networks that detect and block VPNs. A VPN app can run them for the whole device through a virtual network interface, so in daily use they work like any other VPN connection.

Can I use a proxy and a VPN at the same time?

Yes. If you set a proxy in a browser while a VPN is on, that browser's traffic usually travels through the VPN tunnel to the proxy, and websites see the proxy's IP address. On Android, though, only one VPN connection can run at a time, so two apps that both use VPN mode can't run together.

Phoenix VPN team · Written and fact-checked by the people who build Phoenix VPN.

Skip the setup
One tap to a protocol that works

Smart Connection checks which protocols get through on your network, picks the best country and connects. Phoenix and Inferno plans come with a 3-day free trial.