mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[PR #5171] [MERGED] fix: expose streamSettings for Tunnel inbounds to support TProxy #5802
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#5802
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?
📋 Pull Request Information
Original PR: https://github.com/MHSanaei/3x-ui/pull/5171
Author: @rqzbeh
Created: 6/10/2026
Status: ✅ Merged
Merged: 6/11/2026
Merged by: @MHSanaei
Base:
main← Head:fix/tunnel-tproxy-support📝 Commits (5)
d45cafcfix: expose streamSettings for Tunnel inbounds to support TProxyef51893Merge branch 'main' into fix/tunnel-tproxy-supportd76a89efix(ui): hide security tab for tunnel inbounds when stream is enabled94610a4Merge branch 'main' into fix/tunnel-tproxy-support12b5543fix(tunnel): restrict stream tab to sockopt-only and fix transportless schema📊 Changes
6 files changed (+125 additions, -43 deletions)
View changed files
📝
frontend/src/lib/xray/inbound-link.ts(+3 -3)📝
frontend/src/lib/xray/protocol-capabilities.ts(+1 -1)📝
frontend/src/pages/inbounds/form/InboundFormModal.tsx(+45 -24)📝
frontend/src/schemas/protocols/stream/index.ts(+12 -1)📝
frontend/src/test/__snapshots__/protocol-capabilities.test.ts.snap(+14 -14)📝
frontend/src/test/inbound-form-adapter.test.ts(+50 -0)📄 Description
��## Summary
Exposes the streamSettings configuration tab for Tunnel (dokodemo-door) inbounds in the UI, enabling users to configure TProxy settings.
Why
Closes #5166. Xray's dokodemo-door inbound accepts streamSettings, which is required to set up the transparent proxy (sockopt.tproxy) described in XTLS documentation. Previously, the unnel protocol was missing from STREAM_PROTOCOLS, causing the Stream tab to be hidden in the UI.
Type of change
Areas affected
How was this tested?
pm run test -- -u to update UI snapshots, confirming the stream tab renders correctly for unnel fields.
pm run lint,
pm run typecheck, and
pm run build which all passed successfully.
Screenshots / recordings
N/A
Breaking changes
None.
Checklist
pm run lint,
pm run typecheck, and
pm run build pass.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.