[GH-ISSUE #5706] [Feature]: Added external links for the Tuic V5 and AnyTLS protocol. #3970

Closed
opened 2026-10-31 20:36:15 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @Misakiuri64 on GitHub (Jul 1, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5706

Currently, external connection features for Tuic V5 and AnyTLS are not supported;
links added using these protocols cannot be recognized or saved.

Describe the solution you'd like

Currently, external connections do not support the external linking functionality for Tuic V5 and AnyTLS; I would like to request the addition of this feature.

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?

Subscription (share links / Clash / JSON)

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 @Misakiuri64 on GitHub (Jul 1, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5706 ### Is your feature request related to a problem? Currently, external connection features for Tuic V5 and AnyTLS are not supported; links added using these protocols cannot be recognized or saved. ### Describe the solution you'd like Currently, external connections do not support the external linking functionality for Tuic V5 and AnyTLS; I would like to request the addition of this feature. ### 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? Subscription (share links / Clash / JSON) ### Are you willing to help? - [ ] I'd like to implement this feature myself and open a PR. - [x] 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:36:15 +07:00
Author
Owner

@github-actions[bot] commented on GitHub (Jul 1, 2026):

Neither TUIC v5 nor AnyTLS can be added to 3x-ui today because the underlying proxy engine does not implement them.

3x-ui does not implement inbound protocols itself — it runs Xray-core as a managed child process and generates its JSON config (see internal/xray/). The panel's inbound protocol list (internal/database/model/model.go) only defines constants for the protocols Xray-core actually supports: vless, vmess, trojan, shadowsocks, wireguard, hysteria (used for Hysteria2), http, socks, dokodemo-door ("tunnel"), plus mtproto (handled separately via the bundled mtg binary in internal/mtproto/). There is no tuic or anytls constant, and a full source search of this repository (backend and frontend) turns up zero references to either protocol.

I checked the proxy/ directory of XTLS/Xray-core at the commit currently pinned in go.mod (v1.260327.1-0.20260627131803-45cf2898ab12), and it contains: blackhole, dns, dokodemo, freedom, http, hysteria, loopback, shadowsocks, shadowsocks_2022, socks, trojan, tun, vless, vmess, wireguard. No tuic or anytls package exists there either. This matches what was noted in #3484 for AnyTLS ("The Xray core does not support the AnyTLS protocol") and in earlier TUIC requests (#1014, #1158, #1159).

Since both inbound handling and share-link generation are derived from what Xray-core exposes, 3x-ui cannot generate or parse links for protocols the core doesn't implement — this isn't something that can be worked around purely on the panel side. Support would need to land in Xray-core first before 3x-ui could add the corresponding inbound types and share links.

This reply was generated automatically. A maintainer may follow up.

<!-- gh-comment-id:4850439307 --> @github-actions[bot] commented on GitHub (Jul 1, 2026): Neither TUIC v5 nor AnyTLS can be added to 3x-ui today because the underlying proxy engine does not implement them. 3x-ui does not implement inbound protocols itself — it runs Xray-core as a managed child process and generates its JSON config (see `internal/xray/`). The panel's inbound protocol list (`internal/database/model/model.go`) only defines constants for the protocols Xray-core actually supports: `vless`, `vmess`, `trojan`, `shadowsocks`, `wireguard`, `hysteria` (used for Hysteria2), `http`, `socks`, `dokodemo-door` ("tunnel"), plus `mtproto` (handled separately via the bundled `mtg` binary in `internal/mtproto/`). There is no `tuic` or `anytls` constant, and a full source search of this repository (backend and frontend) turns up zero references to either protocol. I checked the `proxy/` directory of XTLS/Xray-core at the commit currently pinned in `go.mod` (`v1.260327.1-0.20260627131803-45cf2898ab12`), and it contains: `blackhole, dns, dokodemo, freedom, http, hysteria, loopback, shadowsocks, shadowsocks_2022, socks, trojan, tun, vless, vmess, wireguard`. No `tuic` or `anytls` package exists there either. This matches what was noted in #3484 for AnyTLS ("The Xray core does not support the AnyTLS protocol") and in earlier TUIC requests (#1014, #1158, #1159). Since both inbound handling and share-link generation are derived from what Xray-core exposes, 3x-ui cannot generate or parse links for protocols the core doesn't implement — this isn't something that can be worked around purely on the panel side. Support would need to land in Xray-core first before 3x-ui could add the corresponding inbound types and share links. *This reply was generated automatically. A maintainer may follow up.*
Author
Owner

@Misakiuri64 commented on GitHub (Jul 2, 2026):

我说的是外部链接的功能,而非节点功能。

<!-- gh-comment-id:4862363882 --> @Misakiuri64 commented on GitHub (Jul 2, 2026): 我说的是外部链接的功能,而非节点功能。
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#3970
No description provided.