RU

Server links

Which parameters are read from share links.

SchemeProtocol
vless://VLESS
vmess://VMess, Base64 JSON
trojan://Trojan
ss://Shadowsocks
hysteria2://, hy2://Hysteria2
wireguard://, wg://WireGuard
socks://, socks5://SOCKS
http://user:pass@host:port#Name, https://…HTTP proxy. No path and an explicit port, otherwise it is a subscription URL
tuic://uuid:password@host:portTUIC v5: sni, alpn, congestion_control, udp_relay_mode — Mihomo core
anytls://password@host:portAnyTLS: sni, fp, insecure — Mihomo core
hysteria://host:portHysteria v1: auth, peer, upmbps, downmbps, obfsParam — Mihomo core

Common parameters

ParameterValue
typetcp, ws, httpupgrade, grpc, xhttp, kcp
securitynone, tls, reality
sni, peerServer name
fpTLS fingerprint. chrome by default for Reality
alpnComma separated
pcs, echCertificate pinning and ECH for TLS
vcn, csVerify the certificate by another name and TLS cipher suites
x_padding_bytesXHTTP padding size, for example 100-1000
pbk, sid, spx, pqvReality parameters
flowxtls-rprx-vision
host, pathWebSocket, HTTPUpgrade, XHTTP
headerTypehttp for TCP, header type for mKCP
serviceName, authority, modegRPC and XHTTP
extraXHTTP JSON
fmFinalMask JSON

Hysteria2

ParameterValue
obfs=salamander, obfs-passwordSalamander obfuscation
host:443,20000-50000 or mportPort hopping: the core moves to another port from the list every 30 seconds. Set the interval with hop-interval
up, down (upmbps, downmbps)Link speed in Mbit/s: turns on Brutal congestion control
sni, alpn, pinSHA256Server name, ALPN (h3 by default), certificate pinning
insecure=1 does not work: Xray 26 removed unverified TLS. For a self-signed certificate pass pinSHA256.

WireGuard

ParameterValue
user part of the link or privatekeyClient private key
publickey, presharedkeyServer keys
address (ip)Client addresses, comma-separated. Without a mask /32 or /128 is added
reservedThree bytes: a list 1,2,3 or a base64 string
keepalive, mtu, allowedipsKeepalive in seconds, MTU, allowed networks

XHTTP and multiplexing

Mux.Cool does not work with XHTTP, so with mux-enable or Mux on in settings nya gives XHTTP its own multiplexing, xmux: several requests over one connection. If the link has extra with xmux, your values are used.

Name and country

The name comes after #. A flag emoji sets the country icon. Without a flag, the country is guessed from the name.

A caption under the name can be set in two ways:

Text
#🇳🇱 Netherlands|Fast
#🇳🇱 Netherlands?serverDescription=RmFzdA==
Keep fp=chrome unless you have a reason. Changing the fingerprint on every server at once can cut off whole mobile carriers. Test a new value on one server first.