mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4589] [Bug]: Routing Rules Source IP and Domain Rules not working #3153
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#3153
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 @hamedhdd on GitHub (May 26, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4589
Describe the bug
I've noticed that setting an ip to only source to be allowed to connect to an inbound not working and we still need to set iptables, also on mixed inbounds (http and socks) if we route connection to specific domains, it works on http but not on socks connections
How to reproduce the problem
1.Xray Configs
2. Routing Rules
3. add a new routing rules
4. Specify new Source Ip (to only allow connection from)
5. select inbound tag
6. Create
Also on Creating new rule,
on http connection only specified domains goes trough, but on same port with socks5 the rules doesn't applied
Expected behavior
It Expected to only allow connection from Source Ips when it specified (be applied to iptables)
And also on specify Domain rules both socks5 and http proxy connection only allow those domains and block anything else
Actual behavior
No response
Relevant logs
Screenshots
No response
3x-ui version
3.1.0
Xray-core version
No response
How did you install 3x-ui?
install.sh script
Operating system
Debian 11
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
@dev-kamran2001 commented on GitHub (May 27, 2026):
Same, Routing Rules is completely ignored.