Skip to content
On this page
On this page

Protocols and link parameters

For users2.2.02.1.0Updated

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

What 2.2.0 parses
ProtocolLinkNetwork (type)Security (security)
VLESSvless://tcp/raw (and headerType=http), ws, grpc, xhttp, httpupgrade, kcpnone, tls, reality (REALITY — only tcp, grpc, xhttp)
VMessvmess://the samethe same
Trojantrojan://the samethe same; tls by default
Shadowsocksss://tcp; with type and security parameters — the samenone, tls, reality
Hysteria2hysteria2://, hy2://QUICTLS

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

text
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

text
vless://<UUID>@YOUR-DOMAIN:443?type=xhttp&security=tls&sni=YOUR-DOMAIN&path=%2Fxh&mode=auto&alpn=h2#Server-2

Trojan WS

text
trojan://<PASSWORD>@YOUR-DOMAIN:443?type=ws&security=tls&sni=YOUR-DOMAIN&host=YOUR-DOMAIN&path=%2Fws#Server-3

Shadowsocks

text
ss://<base64(method:password)>@YOUR-DOMAIN:8388#Server-4

Hysteria2

text
hysteria2://<PASSWORD>@YOUR-DOMAIN:443?sni=YOUR-DOMAIN&obfs=salamander&obfs-password=<OBFS_PASSWORD>&mport=20000-30000&mportHopInt=30#Server-5

VMess

text
vmess://<UUID>@YOUR-DOMAIN:443?type=ws&security=tls&sni=YOUR-DOMAIN&path=%2Fvm&encryption=auto#Server-6

VMess is 2.2.0 only. Formats are described below.

#Transport parameters

Transport
ParameterPurposeNetwork
hostHost headerws, httpupgrade, xhttp; for tcp with headerType=http — a comma-separated list
pathRequest pathws, httpupgrade, xhttp; for tcp with headerType=http — a comma-separated list
serviceNamegRPC service namegrpc
modegun or multi for gRPC; auto, packet-up, stream-up, stream-one for XHTTPgrpc, xhttp
authoritygRPC authoritygrpc
extraExtra XHTTP settings (JSON) — passed to the core as isxhttp
heartbeatPeriodHeartbeat periodws
mtu, ttimKCP parameterskcp
fmfinalmask (JSON) — passed to the core as isany

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

TLS
ParameterWhat it does
sniServer name in TLS. An empty sni= connects without SNI, and host does not replace it. Without sni, peer is used, then host
alpnALPN list
fpTLS client fingerprint (uTLS), for example chrome
pcsSHA-256 of the server certificate (pinnedPeerCertSha256) — certificate pinning
vcnName to verify the certificate against (verifyPeerCertByName)
echECH 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: flow and encryption — none or VLESS Encryption.
  • allowInsecure is not applied: the Xray core removed this key and a config with it won't start. To trust a self-signed certificate, pin it with pcs.
  • 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:

Forms of the fragment parametertext
# 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 is tlshello, or empty with three fields (fragment=,50-100,5-10). Everything else is read as the Happ format.
  • fragment=1 turns on the default profile: tlshello, 100-200, 10-20.
  • fragment=0 (and false, 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 with fragment.
  • Hysteria2 (QUIC) is not fragmented.

#Protocol specifics

#VMess2.2.0

  • v2rayN format: vmess://base64(JSON) with the fields v, ps, add, port, id, aid, scy, net, type, host, path, tls, sni, alpn, fp. For gRPC path is the serviceName, host the authority and type the mode.
  • The URI form vmess://uuid@host:port?…&encryption=auto and the Shadowrocket form.
  • The Xray core speaks VMess AEAD only (a server with alterId: 0); the aid field is not used.
  • scy ciphers: auto, aes-128-gcm, chacha20-poly1305, none, zero.

#Shadowsocks

  • SIP002: ss://base64(method:password)@host:port or 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: mport or ports, 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=salamander and obfs-password.
  • TLS: sni, insecure, pinSHA256. Bandwidth: up and down (Mbit/s).
  • From the fm parameter that Remnawave adds, quicParams.udpHop (ports and interval; with no port in the address 443 is the base) and udp[].salamander are taken. Link parameters take priority.
  • brutalUp and brutalDown from fm are 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.

Remnawave → Response Rules → Wrabbit rule (fragment)JSON
{
  "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.

Not supported
WhatWhyWhat the provider can do
h2, http, quic transportsRemoved from the Xray coreMove to xhttp or grpc
REALITY over ws or httpupgradeThe core can't run this combinationREALITY works only with tcp, grpc, xhttp
mKCP headerType and seedIn the core they are set only via fmPass the masking in the fm parameter
Shadowsocks SIP003 plugins (v2ray-plugin, obfs-local)The core has no pluginsServe the server without a plugin or with another protocol
Shadowsocks stream ciphers (aes-256-cfb, rc4-md5 and others)Obsolete, not in the coreAEAD or SS-2022
Unknown VMess ciphersThe core speaks VMess AEAD onlyauto, aes-128-gcm, chacha20-poly1305
Hysteria v1Hysteria2 onlyMove the server to Hysteria2
Mux from a share linkThere is no standard for linksThe 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.

Updated November 14, 2026 · Found a mistake? →