nya understands the whole Mihomo config. Remnawave (MIHOMO template), 3x-ui (subClashPath) and many services serve it. nya's core is Xray, so every proxy is translated into an Xray config.
Proxies
| Type | Supported |
|---|---|
vless | Reality, TLS, XTLS Vision, encryption; tcp, ws, grpc, h2, http, xhttp transports (xhttp-opts: path, host, mode, x-padding-bytes) |
vmess | All ciphers, ws with max-early-data, v2ray-http-upgrade, grpc, h2 |
trojan | TLS and Reality, ws, grpc |
ss | All ciphers including 2022-blake3. With a plugin — through the Mihomo core |
tuic, anytls, hysteria, ssh, snell, mieru, ssr | Through the Mihomo core, all fields as in Mihomo |
hysteria2 | ports (port hopping), hop-interval, up/down, Salamander, fingerprint |
wireguard | ip, ipv6, keys, reserved, mtu, peers, allowed-ips |
socks5, http | Login and password, TLS for http |
The second core: Mihomo
TUIC, AnyTLS, Hysteria v1, SSH, Snell, Mieru, ShadowsocksR, Shadowsocks with plugins (obfs, v2ray-plugin, shadow-tls) and AmneziaWG work through the built-in Mihomo v1.19.34 core. Xray stays the tunnel and hands such a server's traffic to Mihomo's local SOCKS port; everything else still goes through Xray.
| Platform | Mihomo core |
|---|---|
| Android | Built into the app. The process belongs to nya, so its connections bypass the tunnel |
| Windows, Linux, macOS | Ships next to Xray. In “all traffic” mode Mihomo's connections go direct by process name — no loop |
| iPhone, iPad, Apple TV | No: the system does not let an app start a second core. Such servers are listed but cannot be connected |
Mihomo-core servers are not part of auto-select groups or fallbacks, which Xray builds. Ping is not measured for UDP protocols (TUIC, Hysteria).
servername, client-fingerprint, alpn, fingerprint (certificate pinning), reality-opts, ech-opts.Groups
| Group type | In nya |
|---|---|
url-test, fallback | A separate server at the top of the list: the core picks the fastest live proxy, probing url every interval |
load-balance | A server that spreads connections round-robin |
select | Not needed: the server list is the selection |
proxies, include-all and name filter work.
Rules
If the subscription sends no routing header, routing comes from rules: DIRECT goes direct, REJECT blocks, everything else goes through the VPN. Supported: DOMAIN, DOMAIN-SUFFIX, DOMAIN-KEYWORD, DOMAIN-REGEX, GEOSITE, GEOIP, IP-CIDR, IP-CIDR6 and MATCH. Only geosite and geoip categories shipped with the app work (category-ru, ru-available-only-inside, ru, private, cn); rule sets (RULE-SET) and processes are skipped.
Proxy providers
proxy-providers with type: http are fetched on every subscription update, up to 10. A provider list can be YAML with proxies or a regular subscription with links.