[GH-ISSUE #5616] [Feature]: Add Cloudflare Masque #3916

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

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

Please support Cloudflare MASQUE as endpoint /outbound.

thank you

Describe the solution you'd like

on the endpoint add MASQUE

Alternatives you've considered

No response

Concrete use case

Its faster and uses QUIC on http/3 .. fallback to https/2 and tcp on port 443 if UDP 443 is blocked

Mockups, screenshots, or examples

null

Which parts of the panel would this affect?

Backend (API endpoints, login, settings)

Are you willing to help?

  • I'd like to implement this feature myself and open a PR.
  • I can help test once a PR is open.

Before submitting

  • I searched existing issues and this feature has not been requested.
  • This feature request is written in English.
Originally created by @exxojay on GitHub (Jun 27, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5616 ### Is your feature request related to a problem? Please support Cloudflare MASQUE as endpoint /outbound. thank you ### Describe the solution you'd like on the endpoint add MASQUE ### Alternatives you've considered _No response_ ### Concrete use case Its faster and uses QUIC on http/3 .. fallback to https/2 and tcp on port 443 if UDP 443 is blocked ### Mockups, screenshots, or examples null ### Which parts of the panel would this affect? Backend (API endpoints, login, settings) ### Are you willing to help? - [ ] I'd like to implement this feature myself and open a PR. - [ ] I can help test once a PR is open. ### Before submitting - [x] I searched [existing issues](../issues?q=is%3Aissue) and this feature has not been requested. - [x] This feature request is written in English.
bsakaguchi 2026-10-31 20:35:52 +07:00
Author
Owner

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

Cloudflare MASQUE (RFC 9298 / RFC 9484 — CONNECT-UDP tunneling over HTTP/3 on QUIC) is not currently supported, and the blocker is upstream: xray-core does not implement a MASQUE outbound protocol.

3x-ui acts as a configuration frontend for xray-core; it can only expose protocols that xray-core itself implements. The outbound protocols available today are defined in frontend/src/schemas/primitives/outbound-protocol.ts (freedom, blackhole, dns, vmess, vless, trojan, shadowsocks, wireguard, hysteria, socks, http, loopback) — MASQUE is not among them, and the bundled xray-core build (v1.260327.1-0.20260622185510-b99c3e56574f, per go.mod) does not provide it.

To move this forward, the dependency chain is:

  1. Open or track a feature request in the xtls/Xray-core repository for a MASQUE outbound implementation.
  2. Once xray-core ships it, 3x-ui would need to:
    • add the new protocol to the outbound schema (frontend/src/schemas/primitives/outbound-protocol.ts)
    • add a form component under frontend/src/pages/xray/outbounds/protocols/ and wire it into OutboundFormModal.tsx
    • expose any new transport/security knobs in the config generation layer (internal/xray/config.go)

Note: the masquerade field that appears in the Hysteria sections of this codebase is unrelated — it is Hysteria's HTTP disguise feature, not the MASQUE tunneling protocol.

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

<!-- gh-comment-id:4818972184 --> @github-actions[bot] commented on GitHub (Jun 27, 2026): Cloudflare MASQUE (RFC 9298 / RFC 9484 — CONNECT-UDP tunneling over HTTP/3 on QUIC) is not currently supported, and the blocker is upstream: **xray-core does not implement a MASQUE outbound protocol**. 3x-ui acts as a configuration frontend for xray-core; it can only expose protocols that xray-core itself implements. The outbound protocols available today are defined in `frontend/src/schemas/primitives/outbound-protocol.ts` (freedom, blackhole, dns, vmess, vless, trojan, shadowsocks, wireguard, hysteria, socks, http, loopback) — MASQUE is not among them, and the bundled xray-core build (`v1.260327.1-0.20260622185510-b99c3e56574f`, per `go.mod`) does not provide it. To move this forward, the dependency chain is: 1. Open or track a feature request in the [xtls/Xray-core](https://github.com/xtls/Xray-core) repository for a MASQUE outbound implementation. 2. Once xray-core ships it, 3x-ui would need to: - add the new protocol to the outbound schema (`frontend/src/schemas/primitives/outbound-protocol.ts`) - add a form component under `frontend/src/pages/xray/outbounds/protocols/` and wire it into `OutboundFormModal.tsx` - expose any new transport/security knobs in the config generation layer (`internal/xray/config.go`) Note: the `masquerade` field that appears in the Hysteria sections of this codebase is unrelated — it is Hysteria's HTTP disguise feature, not the MASQUE tunneling protocol. *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#3916
No description provided.