mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #3380] Routing rules in Xray configs do not work (domains set to Direct are still proxied) #2298
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#2298
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 @VyacheslavKokorin on GitHub (Aug 25, 2025).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/3380
Describe the bug
In the 3x-ui panel under Xray configs → Routing rules, the rules do not seem to work as expected.
Yes, I know that bypass can be configured in the client. But then what is the purpose of the Routing rules tab and all these rule settings in the panel, if they have no effect?
How to repeat the problem?
Open Xray configs → Routing rules in 3x-ui panel.
Add a domain (e.g., example.com) and set the action to Direct.
Save the configuration and restart the service.
Connect with NekoBox client in proxy mode.
Try to open example.com.
Expected action
Traffic to example.com should bypass the proxy and connect directly.
Received action
Traffic to example.com is still proxied, despite being configured as Direct in Routing rules.
3x-ui Version
2.6.2
Xray-core Version
25.7.26
Checklist
@MHSanaei commented on GitHub (Aug 25, 2025):
turn on sniffing in your inbound
and direct option is for tunneling