mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #6785] [Feature Request] Support Xdrive transport for Xray-core #4520
Labels
No labels
backlog
bug
clarification needed
documentation
duplicate
enhancement
github_actions
good first issue
invalid
javascript
New Feature
PR welcomed
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
MHSanaei/3x-ui#4520
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @alinasrollahzadeh405-sudo on GitHub (Oct 10, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6785
Is your feature request related to a problem?
Feature Description
With the recent updates in Xray-core introducing the new
xdrivetransport protocol, it would be extremely beneficial to integrate native configuration support forxdriveinto the 3X-UI panel interface.Proposed Changes
xdriveto the available Transport selection dropdown when creating or editing inbounds (VLESS / VMess / Trojan, etc.).Additional Context
Thank you for your hard work and continuous maintenance of this project!
Describe the solution you'd like
please add "xdrive" to inbound and outbound. thank you!
Alternatives you've considered
No response
Concrete use case
No response
Mockups, screenshots, or examples
No response
Which parts of the panel would this affect?
No response
Are you willing to help?
Before submitting
@github-actions[bot] commented on GitHub (Oct 10, 2026):
This is a valid feature request: 3x-ui has no
xdrivetransport today. Before it can be scoped, though, we need a pointer to where Xray-core defines it, because I could not find it.What the panel supports now
The transport list is a fixed enum in
frontend/src/schemas/protocols/stream/index.ts:25-33:Each transport also needs its own
<network>Settingsbranch in theTransportNetworkSettingsSchemadiscriminated union (same file, lines 45-56). A search of the whole repository forxdrive(any case) finds nothing in the Go backend, the frontend, the share-link generators or the docs.What I could not confirm
XTLS/Xray-coreissues and PRs forxdrivereturned no matching transport. The only results were unrelated XHTTP/REALITY threads.go.mod:31(github.com/xtls/xray-core v1.260327.1-0.20260930074004-b26a91de4f32). I could not inspect that module's source here, so I can't tell whether it contains such a transport under some other name.Adding a transport touches several places: the stream schema and form, the inbound/outbound form adapters in
frontend/src/lib/xray/, the share-link and subscription generators (frontend,internal/sub/, anddocs/lib/xray/), and the TLS/REALITY capability lists infrontend/src/lib/xray/protocol-capabilities.ts:9-11. For that the maintainer needs the exact upstream wire format. Please reply with:xdrive, so we can confirm it exists and see which core version it needs.streamSettings(for example"network": "xdrive"plus its settings object), or a link to the upstream config documentation.security: "tls"/"reality", and whether clients have a share-link format for it.Verdict: Feature request
This reply was generated automatically. A maintainer may follow up.
@alinasrollahzadeh405-sudo commented on GitHub (Oct 10, 2026):
hello. you can fined out xdrive in transport/internet/xdrive thank you for your support!
@github-actions[bot] commented on GitHub (Oct 10, 2026):
Thanks for the link. That settles it: XDRIVE is a real Xray-core transport, and the panel already ships a core that has it. The panel just doesn't let you pick or configure it yet, so this stays an open feature request.
Confirmation from this repository
I couldn't open the upstream
transport/internet/xdrivedirectory from here. This repository's own history confirms it anyway. The commit that moved the panel to the new core,62423cac("feat(xray): update xray-core to v26.9.30 and adapt panel"), says in its message:That commit is in the
v3.9.0release. So onv3.9.0and later the bundled Xray-core has XDRIVE, but the panel has no UI for it. At the tip,frontend/src/schemas/protocols/stream/index.ts:25-33still lists onlytcp,kcp,ws,grpc,httpupgrade,xhttpandhysteria, andxdriveappears nowhere else in the repository.Until it's supported
The bundled core can already run it, so you can add an XDRIVE inbound or outbound by hand through the Xray config template in the panel's Xray settings. Use the JSON format from the upstream Xray-core docs. The panel's forms and share links won't understand that entry.
Scope for the maintainer
Supporting it means adding
xdrivetoNetworkSchema, giving it its ownxdriveSettingsbranch inTransportNetworkSettingsSchema(same file, lines 45-56), building its form, and adding share-link and subscription output infrontend/src/lib/xray/,internal/sub/anddocs/lib/xray/. The wire format and its settings keys come from the upstreamtransport/internet/xdrivepackage. I couldn't read that package from here.You don't need to send anything else.
Verdict: Feature request
This reply was generated automatically. A maintainer may follow up.