Naive Outbound (type: naive)¶
Powered by Wind + Chromium Cronet, supporting HTTP/2 and QUIC transports with optional UDP over TCP (UoT v2).
- Feature:
naive(not enabled indefaultorstandardbuilds). To compile with a prebuilt static Cronet binary on supported platforms:
Fields¶
| Key | Type | Required | Default | Description |
|---|---|---|---|---|
name, server, port |
Common | Yes (port > 0) |
— | Standard outbound options (bracketed IPv6 literals like [::1] are accepted). Setting connect-via / dialer-proxy fails with InvalidConfig. |
username |
string |
Yes | — | Non-empty username; must not contain :. |
password |
string |
Yes | — | Non-empty password. |
quic |
bool |
No | false |
false uses HTTP/2; true uses QUIC. |
udp |
bool |
No | false |
Enable UDP over TCP (UoT v2) if supported by the server. |
concurrency |
u32 |
No | 1 |
Connection pool concurrency (must be > 0). |
congestion-controller |
"default" | "bbr" | "bbrv2" | "cubic" | "reno" |
No | "default" |
Congestion controller. |
request-timeout |
u64 (ms) |
No | 10000 |
Request timeout (must be > 0). |
ca-cert |
string |
No | None |
Custom root/server PEM certificate (file path or inline PEM; inline PEM only inside proxy-providers). |
cronet-lib-path |
string |
No | None |
Path or library name of a shared libcronet (for dynamic builds). Main config only (rejected in proxy-providers and --service-mode). All Naive proxies share the first library loaded in the process; restart ClashRS to change it. |
skip-cert-verify |
bool |
No | false |
Setting true is rejected with an error. Trust self-signed certificates via ca-cert instead. |
sni |
string |
No | None |
If set, must match server case-insensitively or config validation fails. |
Operational Notes¶
- With TUN active, Naive supports outbound interface selection on Linux, macOS, and Windows, and
routing-markon Linux (Android ignores both). - If the proxy hostname cannot be resolved, configure
dns.proxy-server-nameserveror add it todns.fake-ip-filter. - When a config reload or provider update replaces a Naive proxy, existing TCP/UDP sessions close once the old proxy instance is released.