clickoneclickone
Back to blog
Tech

Proxy protocols compared: VLESS, VMess, Shadowsocks, Trojan, WireGuard

October 27, 20267 min
By clickone Engineering Team· Global node operationsLast updated

Key takeaways

  • The differences between proxy protocols come down to three questions: how identity is checked, how content is encrypted, and how data is carried
  • VLESS only handles identity and leaves encryption to mature TLS, which gives it the clearest split of responsibilities
  • WireGuard has the best performance and suits company networks and connecting your own devices
  • Users should not have to pick a protocol. The client should ship one verified default

When people see VLESS, VMess, Shadowsocks, Trojan, and WireGuard, most only ask which one is fastest. This article covers what each one does, what it suits, and why clickone uses only one of them.

Three questions

Identity: how the server knows which account a connection belongs to. Encryption: who can read the data in transit. Transport: what form the data takes on the network.

These three jobs can be split across layers: identity in the protocol, encryption in an outer TLS layer, transport in a dedicated wrapper. Or one protocol can handle all of them. Splitting them takes a little more configuration, but each layer has a clear job. Combining them is simpler, but the layers depend on each other, so changing one means touching all of them.

Five protocols

VLESS: identity only, encryption left to TLS. VLESS tells the server which account a connection belongs to and does no encryption of its own. That is left to an outer TLS layer, which browsers and network equipment have used and audited for more than a decade, so there is no reason to build another one into the protocol. The cost is that it needs a TLS layer alongside it. Suits: setups that want encryption handled by a mature standard and can accept a bit more configuration.

VMess: the previous generation, with built-in encryption. VMess has its own encryption layer, which made sense before TLS was everywhere. Now that most traffic already runs over HTTPS, a second layer is redundant and adds computing overhead. Suits: existing deployments you would rather not change yet.

Shadowsocks: minimal and lightweight. Simple design, low resource use, easy to deploy. It sends encrypted data directly over TCP with no outer TLS layer. Suits: networks you control, such as connecting devices at home or inside a small team.

Trojan: built on standard TLS. A Trojan connection is a standard TLS connection and needs a real domain and certificate. The idea is close to VLESS + TLS. The differences are in protocol details and ecosystem support. Suits: setups that already have a domain and certificate and want connections to work exactly like ordinary HTTPS.

WireGuard: best performance. It runs in the kernel, uses a fixed cipher suite with no negotiation, and has a small codebase, which makes it the fastest of the five. It also recovers quickly when a device switches networks. Suits: company networks, remote offices, connecting home devices, and latency-sensitive uses such as games and video calls.

ProtocolStrengthsThings to note
VLESS + TLSIdentity and encryption kept separateNeeds a TLS layer alongside it
VMessBuilt-in encryption, works with older setupsDuplicates TLS encryption, more overhead
ShadowsocksMinimal, low resource useNo outer TLS layer
TrojanStandard TLS connectionNeeds a real domain and certificate
WireGuardBest performance, small codebaseBest suited to networks you control

Why the client has no protocol dropdown

Putting a protocol choice in settings hands an engineering decision to the user. Most people never change the default, and those who do rarely know why. When something breaks, it adds another question: did I pick the wrong protocol? It is better for the client to ship one verified default and keep the cost of supporting multiple protocols on the server side.

What clickone uses

Every clickone node runs VLESS over XHTTP, with TLS on the outside. There are three reasons. Encryption is left to TLS, which has years of scrutiny behind it. XHTTP wraps data into standard HTTP requests, so connections can come in through Cloudflare and node addresses are not exposed directly. And with one protocol on every node, nodes behave the same way, which makes problems easier to track down.

The choice has costs too. There is one more hop than a direct connection, so latency is a little higher. And with a single protocol, there is no alternative to switch to. Why we made that trade-off is covered in "Why clickone uses a single transport protocol".

What this means for you

You do not need to choose a protocol in the client. After you sign in, connections use VLESS over XHTTP automatically. If a node will not connect or feels slow, it is usually down to that node's network or its load at the time. Try another node.

Frequently asked questions

VLESS does no encryption itself. Is it safe?
Yes. Encryption is handled by the outer TLS layer, a widely audited, mature standard. VLESS leaves encryption to the layer best suited to it.
How is XHTTP different from ordinary HTTPS?
XHTTP wraps data into a series of standard HTTP requests, encrypted by TLS on the outside. On the network it works like ordinary HTTPS requests, so it can pass through standard HTTP infrastructure such as CDNs.
WireGuard is faster. Why doesn't clickone use it?
WireGuard runs over UDP and cannot come in through HTTP infrastructure such as Cloudflare. clickone routes every node through Cloudflare, so it uses VLESS over XHTTP everywhere.
Are more protocols better?
Not necessarily. Each extra protocol brings another set of configuration and another troubleshooting path. How nodes are spread out and how well they are run matters more to the experience than how many protocols there are.

Sources & further reading

About the author

clickone Engineering Team

Global node operations

Every node online, everywhere.

We are the clickone engineering team. We deploy and run the global nodes.

More from this team