mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #6560] [Bug]: Routing rules do not apply to TUIC inbounds due to standalone sidecar architecture #4396
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#4396
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 @Ximilin on GitHub (Sep 15, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6560
Describe the bug
There is an issue where any traffic entering through a TUIC inbound completely ignores the configured Routing Rules (Xray/Sing-box) and cannot be forwarded to any outbound proxy (e.g., creating a TUIC → VLESS cascade/proxy chain fails).
How to reproduce the problem
According to the documentation, TUIC (v5) is managed as a standalone Rust sidecar process (tuic-server) rather than running natively inside the core (Xray or Sing-box).Because of this architecture, tuic-server intercepts and processes the data independently. As a result, incoming traffic from TUIC clients never passes through the core's routing matrix. Any routing rules defined in the 3x-ui web panel (e.g., targeting inbound-tag or matching inbound ports) are completely bypassed, making it impossible to route TUIC traffic through specific outbounds.
Expected behavior
No response
Actual behavior
No response
Relevant logs
Screenshots
No response
3x-ui version
3.8.0
Xray-core version
26.9.9
How did you install 3x-ui?
install.sh script
Operating system
Debian 13
Which parts of the panel are affected?
No response
Browser (only if it is a UI bug)
No response
Is the panel behind a reverse proxy or CDN?
None
Before submitting
@poise52 commented on GitHub (Sep 15, 2026):
@Ximilin В данный момент туик не поддерживает маршрутизацию xray от панели, это описанно в архитектуре проекта.
Я уже делаю форк туика с апстримом , чтобы он поддерживал подсчет трафика и маршрутизацию, проблема, я не знаю одобрит такой pr мейнтейнер (что ноунейм форк туика будет типо)
github.com/MHSanaei/3x-ui@c9e62451e6/docs/architecture.md (L31-L34)апдейт, я нашел решение уже занимаюсь