Protocols and link parameters
Wrabbit runs VLESS, VMess, Trojan and Shadowsocks on the Xray core and Hysteria2 on a separate engine. Links follow the XTLS standard, the way Remnawave issues them. This page lists the transports and parameters the client understands and what it skips.
#Protocols and transports2.2.0
| Protocol | Link | Network (type) | Security (security) |
|---|---|---|---|
| VLESS | vless:// | tcp/raw (and headerType=http), ws, grpc, xhttp, httpupgrade, kcp | none, tls, reality (REALITY — only tcp, grpc, xhttp) |
| VMess | vmess:// | the same | the same |
| Trojan | trojan:// | the same | the same; tls by default |
| Shadowsocks | ss:// | tcp; with type and security parameters — the same | none, tls, reality |
| Hysteria2 | hysteria2://, hy2:// | QUIC | TLS |
Links follow the XTLS standard (Xray-core #716). All these protocols and transports also work in a subscription's full Xray JSON: the connection runs from the provider's config as is (see Import → Xray JSON).
#What 2.1.0 parses2.1.0
- VLESS: REALITY over TCP or gRPC, XHTTP with TLS, WebSocket with TLS, plain TCP.
- Trojan: TCP, TCP with TLS, WebSocket with TLS, gRPC with TLS.
- Shadowsocks and Hysteria2.
- Version 2.1.0 doesn't understand VMess,
httpupgrade, mKCP, or VLESS over TCP or gRPC with plain TLS: it skips such subscription lines. It adds VLESS XHTTP with REALITY as XHTTP with TLS, and such a server doesn't connect.
#Link examples
Replace the placeholders with your own values. A link can be pasted on the “Import” screen or sent to a user as a QR code.
VLESS REALITY
vless://<UUID>@YOUR-DOMAIN:443?type=tcp&security=reality&sni=www.example.com&pbk=<PUBLIC_KEY>&sid=<SHORT_ID>&fp=chrome&flow=xtls-rprx-vision#Server-1
VLESS XHTTP
vless://<UUID>@YOUR-DOMAIN:443?type=xhttp&security=tls&sni=YOUR-DOMAIN&path=%2Fxh&mode=auto&alpn=h2#Server-2
Trojan WS
trojan://<PASSWORD>@YOUR-DOMAIN:443?type=ws&security=tls&sni=YOUR-DOMAIN&host=YOUR-DOMAIN&path=%2Fws#Server-3
Shadowsocks
ss://<base64(method:password)>@YOUR-DOMAIN:8388#Server-4
Hysteria2
hysteria2://<PASSWORD>@YOUR-DOMAIN:443?sni=YOUR-DOMAIN&obfs=salamander&obfs-password=<OBFS_PASSWORD>&mport=20000-30000&mportHopInt=30#Server-5
#Transport parameters
| Parameter | Purpose | Network |
|---|---|---|
host | Host header | ws, httpupgrade, xhttp; for tcp with headerType=http — a comma-separated list |
path | Request path | ws, httpupgrade, xhttp; for tcp with headerType=http — a comma-separated list |
serviceName | gRPC service name | grpc |
mode | gun or multi for gRPC; auto, packet-up, stream-up, stream-one for XHTTP | grpc, xhttp |
authority | gRPC authority | grpc |
extra | Extra XHTTP settings (JSON) — passed to the core as is | xhttp |
heartbeatPeriod | Heartbeat period | ws |
mtu, tti | mKCP parameters | kcp |
fm | finalmask (JSON) — passed to the core as is | any |
On iPhone and iPad mKCP uses conservative windows — 5 and 10 MB/s, a 1 MB send buffer — so the tunnel stays within the iOS memory limit.
#TLS and REALITY
| Parameter | What it does |
|---|---|
sni | Server name in TLS. An empty sni= connects without SNI, and host does not replace it. Without sni, peer is used, then host |
alpn | ALPN list |
fp | TLS client fingerprint (uTLS), for example chrome |
pcs | SHA-256 of the server certificate (pinnedPeerCertSha256) — certificate pinning |
vcn | Name to verify the certificate against (verifyPeerCertByName) |
ech | ECH config list in base64. A DNS address (udp://…, https://…) is dropped: such a query would bypass the tunnel |
- REALITY:
sni,pbk,sid,spx,pqv,fp. - VLESS:
flowandencryption—noneor VLESS Encryption. allowInsecureis not applied: the Xray core removed this key and a config with it won't start. To trust a self-signed certificate, pin it withpcs.- Accepted but not applied parameters show up in the subscription download log marked “not applied” — see Logs and support.
#Fragmentation and noises in a link
The fragment parameter cuts the TLS ClientHello into pieces so DPI doesn't see the server name in one piece. It works on any transport over TCP. If fragment sets a profile, it takes priority over the subscription directive and the “TLS fragmentation” switch (see Routing → TLS fragmentation). Wrabbit understands the Happ and INCY forms and its own older one:
# Happ: length,interval,packets[,maxSplit]
&fragment=1-10,5-20,tlshello
# Wrab: packets,length,interval (first field tlshello or empty)
&fragment=tlshello,100-200,10-20
# 1 — default profile; 0 — same as no parameter (the subscription directive or the switch applies)
&fragment=1
&fragment=0
# INCY
&fragmentPackets=tlshello&fragmentLength=100-200&fragmentInterval=10-20
# noises (only together with fragment), several separated by ;
&fragment=1&noises=rand,10-20,10-16
- The Wrab form (
packets,length,interval) is recognized only if the first field istlshello, or empty with three fields (fragment=,50-100,5-10). Everything else is read as the Happ format. fragment=1turns on the default profile:tlshello,100-200,10-20.fragment=0(andfalse,off,no) doesn't turn fragmentation off in 2.2.0: it's the same as a link without the parameter, and the subscription directive or the switch applies.noises=type,packet,delay[,applyTo]— noise before UDP packets, several separated by;. They work only together withfragment.- Hysteria2 (QUIC) is not fragmented.
#Protocol specifics
#VMess2.2.0
- v2rayN format:
vmess://base64(JSON)with the fieldsv,ps,add,port,id,aid,scy,net,type,host,path,tls,sni,alpn,fp. For gRPCpathis the serviceName,hostthe authority andtypethe mode. - The URI form
vmess://uuid@host:port?…&encryption=autoand the Shadowrocket form. - The Xray core speaks VMess AEAD only (a server with
alterId: 0); theaidfield is not used. scyciphers:auto,aes-128-gcm,chacha20-poly1305,none,zero.
#Shadowsocks
- SIP002:
ss://base64(method:password)@host:portor a plain percent-encoded userinfo — SS-2022 requires it. A fully base64 link works too. - AEAD:
aes-128-gcm,aes-256-gcm,chacha20-ietf-poly1305,xchacha20-ietf-poly1305. - SS-2022:
2022-blake3-aes-128-gcm,2022-blake3-aes-256-gcm,2022-blake3-chacha20-poly1305.
#Hysteria2
- Port hopping:
mportorports, or ports right in the address (443,5000-6000). mportHopInt— the port hop interval in seconds, at least 5: a number (30) or a range (5-10). Without it the port changes every 30 seconds.- Obfuscation:
obfs=salamanderandobfs-password. - TLS:
sni,insecure,pinSHA256. Bandwidth:upanddown(Mbit/s). - From the
fmparameter that Remnawave adds,quicParams.udpHop(ports and interval; with no port in the address 443 is the base) andudp[].salamanderare taken. Link parameters take priority. brutalUpandbrutalDownfromfmare not applied: they are the server inbound's speeds, and the client stays on BBR. The reason is written to the log.
#Caption under the server name2.2.0
Remnawave can append a short host description to a link: #Name?serverDescription=<base64>. Wrabbit shows it under the server name; it does not become part of the name. In a full Xray JSON the same description arrives as the meta.serverDescription field.
{
"responseModifications": {
"headers": [
{ "key": "x-wrabbit-rule", "value": "v1;rule=open;mode=compat" }
],
"applyHeadersToEnd": true,
"additionalExtendedClientsRegex": ["^Wrabbit/"]
}
}
#What is not supported
Such a subscription line is skipped and the other servers are added. The reason shows in the subscription download log and on the “Subscription check” screen 2.2.0, for example ss-plugin:obfs-local ×2.
| What | Why | What the provider can do |
|---|---|---|
h2, http, quic transports | Removed from the Xray core | Move to xhttp or grpc |
REALITY over ws or httpupgrade | The core can't run this combination | REALITY works only with tcp, grpc, xhttp |
mKCP headerType and seed | In the core they are set only via fm | Pass the masking in the fm parameter |
Shadowsocks SIP003 plugins (v2ray-plugin, obfs-local) | The core has no plugins | Serve the server without a plugin or with another protocol |
Shadowsocks stream ciphers (aes-256-cfb, rc4-md5 and others) | Obsolete, not in the core | AEAD or SS-2022 |
| Unknown VMess ciphers | The core speaks VMess AEAD only | auto, aes-128-gcm, chacha20-poly1305 |
| Hysteria v1 | Hysteria2 only | Move the server to Hysteria2 |
| Mux from a share link | There is no standard for links | The mux-* subscription directive or mux in the full JSON |
Server zone in a link and server stability across updates
The wrab-zone= parameter marks a whitelist-zone server and is read from vless:// only. For other protocols the zone is set with a label in the name or a host tag — see Server zones.
When the client starts parsing a link more precisely (shared path, empty SNI, port hopping from fm, IPv6), the server key doesn't change: a subscription update keeps it, the selected server stays selected, and the tunnel is not restarted.