[GH-ISSUE #5656] [Question]: compatibility #3939

Closed
opened 2026-10-31 20:36:02 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @RezaHaghgoo on GitHub (Jun 29, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5656

What are you trying to do?

in settings , how can I increase the clients' config compatibility on other devices, internet operators etc.

What have you already tried?

No response

3x-ui version

3.3.0

How did you install 3x-ui?

install.sh script

Operating system

Ubuntu 24

Screenshots or config snippets

No response

Before submitting

  • I read the Wiki and searched existing issues.
  • This is a usage question, not a bug report.
  • This question is written in English.
Originally created by @RezaHaghgoo on GitHub (Jun 29, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5656 ### What are you trying to do? in settings , how can I increase the clients' config compatibility on other devices, internet operators etc. ### What have you already tried? _No response_ ### 3x-ui version 3.3.0 ### How did you install 3x-ui? install.sh script ### Operating system Ubuntu 24 ### Screenshots or config snippets _No response_ ### Before submitting - [x] I read the [Wiki](https://github.com/MHSanaei/3x-ui/wiki) and searched [existing issues](../issues?q=is%3Aissue). - [x] This is a usage question, not a bug report. - [x] This question is written in English.
bsakaguchi 2026-10-31 20:36:02 +07:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@github-actions[bot] commented on GitHub (Jun 29, 2026):

"Compatibility" in this context covers two independent concerns: which client applications can import the config, and whether the traffic passes through restrictive networks/ISPs. The relevant settings in 3x-ui are spread across two places.


1. Inbound-level settings (per-inbound in the Inbounds page)

These affect every client that connects to that inbound.

  • Protocol + transport: VLESS or VMess over WebSocket+TLS is the most broadly supported combination across client apps (v2rayN, v2rayNG, Shadowrocket, Happ, Clash/Mihomo, etc.). VLESS+REALITY+TCP avoids the need for a valid domain/certificate and is well supported in modern clients, but older apps may not parse the flow field correctly.
  • TLS fingerprint (in the TLS or REALITY security tab): The fingerprint field (confirmed in frontend/src/schemas/protocols/security/tls.ts) controls the uTLS impersonation used for outgoing connections. Available values are chrome, firefox, safari, ios, android, edge, 360, qq, random, randomized, randomizednoalpn. Setting it to chrome or randomized gives the best pass-through on most ISPs because the TLS handshake looks like a known browser. randomized is the most evasion-resistant but a small number of older client-side Xray builds may not support it; chrome is the safest default.
  • ALPN: For TLS inbounds, set ALPN to ["h2", "http/1.1"] (the default in frontend/src/schemas/protocols/security/tls.ts). Restricting it to h2 only may cause failures on clients that don't negotiate h2.
  • Sniffing tab: Sniffing (enabled, destOverride) is a server-side routing feature and does not affect which clients can connect. Leave it enabled if you use domain-based routing rules; it has no bearing on device or ISP compatibility.

2. Settings → Subscription Formats (affects client configs delivered via subscription)

These settings apply only to clients that fetch a subscription URL; they inject additional directives into the config the client receives.

  • Enable JSON subscription (subJsonEnable, confirmed in frontend/src/models/setting.ts and SubscriptionGeneralTab.tsx): The default raw/base64 subscription format carries only the share link. Enabling the JSON format delivers a full Xray/Sing-box JSON config, which supports richer client-side options. Clients such as v2rayN, Happ, and Sing-box-based apps can consume the JSON URL directly.
  • Mux tab (subJsonMux): When JSON subscription is enabled, toggling "Mux" injects a multiplexing block ({ "enabled": true, "concurrency": 8, "xudpConcurrency": 16 }) into every client config. Mux reduces connection establishment overhead on lossy networks but is not supported by all client apps; only enable it if your target clients support it.
  • FinalMask tab (subJsonFinalMask): Injects TCP or UDP mask settings (fragment, sudoku, etc.) into the JSON subscription config. TCP fragmentation (type: "fragment") is the most common choice to bypass ISP deep-packet inspection of the TLS handshake. This is injected at the client level, not the server level, so the server configuration does not change. Confirmed in frontend/src/schemas/protocols/stream/finalmask.ts and SubJsonFinalMaskForm.tsx.
  • Direct rules tab (subJsonRules): Injects client-side routing rules that send local/national IPs directly without proxying. This does not affect ISP DPI bypass but affects which traffic the client routes through the proxy.

Summary of the most impactful changes for broad compatibility:

Goal Where to change What to set
Widest client app support Inbound → Protocol/Transport VLESS + WebSocket + TLS, or VLESS + TCP + REALITY
TLS fingerprint blending Inbound → TLS/REALITY → fingerprint chrome or randomized
ALPN breadth Inbound → TLS → ALPN h2 + http/1.1
Richer client config via subscription Settings → Subscription Formats → Panel Settings Enable JSON subscription
ISP DPI bypass (client-side) Settings → Subscription Formats → FinalMask Add TCP fragment mask

If none of the above addresses what you are asking, please clarify which specific behavior you are trying to improve (e.g. certain client app not reading the config, traffic being blocked by a specific ISP, connection drops on mobile networks).

This reply was generated automatically; a maintainer may follow up.

<!-- gh-comment-id:4832334215 --> @github-actions[bot] commented on GitHub (Jun 29, 2026): "Compatibility" in this context covers two independent concerns: which client applications can import the config, and whether the traffic passes through restrictive networks/ISPs. The relevant settings in 3x-ui are spread across two places. --- **1. Inbound-level settings (per-inbound in the Inbounds page)** These affect every client that connects to that inbound. - **Protocol + transport**: VLESS or VMess over WebSocket+TLS is the most broadly supported combination across client apps (v2rayN, v2rayNG, Shadowrocket, Happ, Clash/Mihomo, etc.). VLESS+REALITY+TCP avoids the need for a valid domain/certificate and is well supported in modern clients, but older apps may not parse the `flow` field correctly. - **TLS fingerprint** (in the TLS or REALITY security tab): The `fingerprint` field (confirmed in `frontend/src/schemas/protocols/security/tls.ts`) controls the uTLS impersonation used for outgoing connections. Available values are `chrome`, `firefox`, `safari`, `ios`, `android`, `edge`, `360`, `qq`, `random`, `randomized`, `randomizednoalpn`. Setting it to `chrome` or `randomized` gives the best pass-through on most ISPs because the TLS handshake looks like a known browser. `randomized` is the most evasion-resistant but a small number of older client-side Xray builds may not support it; `chrome` is the safest default. - **ALPN**: For TLS inbounds, set ALPN to `["h2", "http/1.1"]` (the default in `frontend/src/schemas/protocols/security/tls.ts`). Restricting it to `h2` only may cause failures on clients that don't negotiate h2. - **Sniffing tab**: Sniffing (`enabled`, `destOverride`) is a server-side routing feature and does not affect which clients can connect. Leave it enabled if you use domain-based routing rules; it has no bearing on device or ISP compatibility. --- **2. Settings → Subscription Formats (affects client configs delivered via subscription)** These settings apply only to clients that fetch a subscription URL; they inject additional directives into the config the client receives. - **Enable JSON subscription** (`subJsonEnable`, confirmed in `frontend/src/models/setting.ts` and `SubscriptionGeneralTab.tsx`): The default raw/base64 subscription format carries only the share link. Enabling the JSON format delivers a full Xray/Sing-box JSON config, which supports richer client-side options. Clients such as v2rayN, Happ, and Sing-box-based apps can consume the JSON URL directly. - **Mux tab** (`subJsonMux`): When JSON subscription is enabled, toggling "Mux" injects a multiplexing block (`{ "enabled": true, "concurrency": 8, "xudpConcurrency": 16 }`) into every client config. Mux reduces connection establishment overhead on lossy networks but is not supported by all client apps; only enable it if your target clients support it. - **FinalMask tab** (`subJsonFinalMask`): Injects TCP or UDP mask settings (fragment, sudoku, etc.) into the JSON subscription config. TCP fragmentation (`type: "fragment"`) is the most common choice to bypass ISP deep-packet inspection of the TLS handshake. This is injected at the client level, not the server level, so the server configuration does not change. Confirmed in `frontend/src/schemas/protocols/stream/finalmask.ts` and `SubJsonFinalMaskForm.tsx`. - **Direct rules tab** (`subJsonRules`): Injects client-side routing rules that send local/national IPs directly without proxying. This does not affect ISP DPI bypass but affects which traffic the client routes through the proxy. --- **Summary of the most impactful changes for broad compatibility:** | Goal | Where to change | What to set | |---|---|---| | Widest client app support | Inbound → Protocol/Transport | VLESS + WebSocket + TLS, or VLESS + TCP + REALITY | | TLS fingerprint blending | Inbound → TLS/REALITY → fingerprint | `chrome` or `randomized` | | ALPN breadth | Inbound → TLS → ALPN | `h2` + `http/1.1` | | Richer client config via subscription | Settings → Subscription Formats → Panel Settings | Enable JSON subscription | | ISP DPI bypass (client-side) | Settings → Subscription Formats → FinalMask | Add TCP fragment mask | If none of the above addresses what you are asking, please clarify which specific behavior you are trying to improve (e.g. certain client app not reading the config, traffic being blocked by a specific ISP, connection drops on mobile networks). *This reply was generated automatically; a maintainer may follow up.*
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#3939
No description provided.