SMProxy / CONNECTION FIELD GUIDE

Connection protocols.

One client, different ways to connect. Compare protocols, understand their tradeoffs and open the documentation.

Use a current app build and your server’s configuration. Changing a client protocol does not change the protocol running on the server.

Reading this guide

Transport means the client-to-server connection. It is different from application UDP: some TCP proxies can carry UDP inside TCP, while ordinary HTTP CONNECT cannot.

Use VPN/TUN mode to route application traffic through the tunnel. With a system proxy, coverage depends on each application’s settings. Routing and DNS are configured separately from the protocol.

01

VLESS

TCP / XHTTP / gRPC / WebSocket

A flexible UUID-authenticated proxy protocol with multiple transports, TLS or REALITY.

Strengths

Offers a choice of transports. Vision is available with compatible configurations.

Tradeoffs

Protection depends on the selected encryption and transport settings. UUID, flow, SNI and keys must match the server.

vless://UUID@server.example:443?security=reality&type=tcp&pbk=PUBLIC_KEY&sni=SERVER_NAME#Name

Documentation / project ↗SMProxy link formats ↗

02

VMess

TCP / gRPC / WebSocket

A proxy with its own authentication and encryption, commonly found in existing subscriptions.

Strengths

Useful for an existing VMess server; supports multiple transports.

Tradeoffs

Has more settings than a basic proxy. Correct device time and matching client/server parameters matter.

vmess://BASE64_JSON

Documentation / project ↗SMProxy link formats ↗

03

Trojan

TLS / TCP

A password-authenticated proxy carried inside a TLS connection.

Strengths

Uses familiar TLS infrastructure and a relatively compact configuration.

Tradeoffs

Requires a valid certificate, server name and password. TLS alone does not guarantee resistance to blocking.

trojan://PASSWORD@server.example:443?sni=server.example#Name

Documentation / project ↗SMProxy link formats ↗

04

Shadowsocks

TCP / UDP

An encrypted proxy for TCP streams and UDP packets, configured with a cipher method and password.

Strengths

Compact setup, with TCP/UDP support in compatible server configurations.

Tradeoffs

Both ends must support the same cipher. Extra plugins and camouflage are not enabled automatically.

ss://BASE64_METHOD_PASSWORD@server.example:8388#Name

Documentation / project ↗SMProxy link formats ↗

05

WireGuard

UDP

An IP tunnel over UDP with key-based authentication.

Strengths

Few core parameters, efficient transport and roaming without fixing the client to one IP address.

Tradeoffs

Needs working UDP. Standard WireGuard does not add protocol camouflage.

wireguard://… / .conf

Documentation / project ↗SMProxy link formats ↗

06

AmneziaWG

UDP

A WireGuard-based protocol with modified headers, noise and additional obfuscation parameters.

Strengths

Keeps the WireGuard key model while making the standard WireGuard signature harder to recognise.

Tradeoffs

Client and server need matching versions and obfuscation parameters. If all UDP is blocked, another transport is needed.

amneziawg://… / wireguard://… / .conf

Documentation / project ↗SMProxy link formats ↗

07

Hysteria 2

QUIC / UDP

A TCP/UDP proxy over QUIC, with bandwidth and congestion-control settings.

Strengths

Can be useful on unstable links when UDP is available. Carries application TCP and UDP traffic.

Tradeoffs

QUIC depends on UDP. Unrealistic bandwidth settings can hurt connectivity; Hysteria 1 and 2 are incompatible.

hysteria2://PASSWORD@server.example:443?sni=server.example#Name

Documentation / project ↗SMProxy link formats ↗

08

TUIC v5

QUIC / UDP

A QUIC-based proxy for multiple streams and UDP. SMProxy uses the TUIC v5 format.

Strengths

Carries TCP and UDP flows over a QUIC connection, with configurable UDP relay modes.

Tradeoffs

Needs working UDP. Protocol version, UUID, password and TLS parameters must match.

tuic://UUID:PASSWORD@server.example:443?sni=server.example#Name

Documentation / project ↗SMProxy link formats ↗

09

AnyTLS

TLS / TCP

A TLS proxy with session management and packet padding.

Strengths

Runs over TCP/TLS; session and padding settings let the server tune connection behaviour.

Tradeoffs

Requires a compatible AnyTLS server. It is not a generic HTTPS proxy; UDP relay depends on compatible server support.

anytls://PASSWORD@server.example:443?sni=server.example#Name

Documentation / project ↗SMProxy link formats ↗

10

NaiveProxy

HTTPS / HTTP/2 / TCP

A proxy using the Chromium network stack and traffic padding. SMProxy connects over HTTPS/HTTP/2.

Strengths

Uses a browser networking stack for TLS/HTTP and can operate on networks where TCP is available.

Tradeoffs

Needs a Naive-compatible server and more components than basic CONNECT. UDP-over-TCP requires server support and is not native UDP.

naive+https://USER:PASSWORD@server.example:443?sni=server.example#Name

Documentation / project ↗SMProxy link formats ↗

11

Mieru

TCP / UDP

An encrypted proxy with TCP and UDP server transports. A complete profile can also be carried in a mieru:// link.

Strengths

A choice of TCP or UDP adapts the connection to available transport. Share links carry profile parameters.

Tradeoffs

Requires a compatible Mieru server. Profile parameters and supported client modes must match the server.

mierus://USER:PASSWORD@server.example?port=443&protocol=TCP#Name

Documentation / project ↗SMProxy link formats ↗

12

SOCKS5

TCP / UDP Associate

A general-purpose proxy for TCP and, when supported by the server, UDP Associate.

Strengths

Useful with existing proxy infrastructure and connection chains.

Tradeoffs

Does not itself encrypt the connection or credentials. Use a trusted channel; not every server supports UDP.

socks://USER:PASSWORD@proxy.example:1080#Name

Documentation / project ↗SMProxy link formats ↗

13

HTTP proxy

HTTP CONNECT / TCP

A standard CONNECT proxy: the client asks the server to open a TCP connection to the destination.

Strengths

Works with ordinary HTTP proxy servers. SMProxy uses a distinct link scheme to separate proxies from subscriptions.

Tradeoffs

The connection to the proxy has no TLS: the destination and Basic credentials may be visible on the path. This protocol does not carry UDP.

http-proxy://USER:PASSWORD@proxy.example:8080#Name

Documentation / project ↗SMProxy link formats ↗

14

HTTPS proxy

TLS + HTTP CONNECT / TCP

The same CONNECT mechanism, with TLS protecting the connection between client and proxy.

Strengths

Encrypts the connection to the proxy and verifies its certificate. Fits compatible HTTPS proxy infrastructure.

Tradeoffs

Requires the correct server name and a trusted certificate. It is a TCP proxy, without native UDP or QUIC relay.

https-proxy://USER:PASSWORD@proxy.example:443?sni=proxy.example#Name

Documentation / project ↗SMProxy link formats ↗

A SEPARATE LAYER

REALITY, TLS, Vision, XHTTP…

REALITY and TLS protect the transport; XHTTP, gRPC and WebSocket describe how traffic is carried. They are not interchangeable standalone VPN servers. A VLESS link can specify REALITY with TCP, or TLS with XHTTP.

REALITY verifies the server’s key. The public key, short ID and SNI must be correct. Vision and additional encryption modes also require server support. No protocol name guarantees access through IP blocks or every network.

Project X: REALITY / TLS ↗

Where to start?

Start with the configuration supplied by your server administrator. If UDP is unavailable, compare TCP/TLS options. If the connection starts but websites fail, check DNS, routing and server availability: changing the protocol name will not fix those causes.

The examples are templates, not working servers. Replace UUIDs, passwords, keys and addresses with your configuration. Ordinary http:// and https:// URLs are subscription links; proxy links use http-proxy:// and https-proxy://.