[GH-ISSUE #6656] [Question]: Node cannot access 3x backend! #4445

Closed
opened 2026-10-31 20:39:42 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Dream211004 on GitHub (Sep 26, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6656

What are you trying to do?

I used the 3xui panel on the VPS server to set up an export IP node for mobile broadband. There is a strange problem here, which is that when using this node, I cannot access the 3xui backend of VPS. How can I solve this problem? Is it related to mobile broadband DNS hijacking?

I have a VPS server that can be configured according to the method you mentioned, but another VPS server configured in this way still cannot access the corresponding 3x backend. Why is this? Here is a comparison of the two configurations:

===================
The 3xui panel corresponding to this configuration can be accessed normally

{
"type": "field",
"enabled": true,
"ip": [
"38.246.242.252"
],
"outboundTag": "direct"
}

The 3xui panel corresponding to this configuration cannot be accessed normally

{
"type": "field",
"enabled": true,
"domain": [
"bnsdmmyx.de5.net"
],
"ip": [
"104.233.148.34"
],
"outboundTag": "direct"
},
Can it be explained that it is related to the VPS server?

What have you already tried?

No response

3x-ui version

3.8.5

How did you install 3x-ui?

install.sh script

Operating system

Ubuntu 24.04

Screenshots or config snippets

No response

Before submitting

  • I read the Wiki and searched existing issues.
  • This is a usage question, not a bug report.
  • This question is written in English.
Originally created by @Dream211004 on GitHub (Sep 26, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/6656 ### What are you trying to do? I used the 3xui panel on the VPS server to set up an export IP node for mobile broadband. There is a strange problem here, which is that when using this node, I cannot access the 3xui backend of VPS. How can I solve this problem? Is it related to mobile broadband DNS hijacking? I have a VPS server that can be configured according to the method you mentioned, but another VPS server configured in this way still cannot access the corresponding 3x backend. Why is this? Here is a comparison of the two configurations: =================== The 3xui panel corresponding to this configuration can be accessed normally { "type": "field", "enabled": true, "ip": [ "38.246.242.252" ], "outboundTag": "direct" } =================== The 3xui panel corresponding to this configuration cannot be accessed normally { "type": "field", "enabled": true, "domain": [ "bnsdmmyx.de5.net" ], "ip": [ "104.233.148.34" ], "outboundTag": "direct" }, Can it be explained that it is related to the VPS server? ### What have you already tried? _No response_ ### 3x-ui version 3.8.5 ### How did you install 3x-ui? install.sh script ### Operating system Ubuntu 24.04 ### Screenshots or config snippets _No response_ ### Before submitting - [x] I read the [Wiki](https://github.com/MHSanaei/3x-ui/wiki) and searched [existing issues](../issues?q=is%3Aissue). - [x] This is a usage question, not a bug report. - [x] This question is written in English.
bsakaguchi 2026-10-31 20:39:42 +07:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@github-actions[bot] commented on GitHub (Sep 26, 2026):

The problem is the second rule itself, not the VPS. In Xray, when one routing rule lists several conditions, all of them must match at the same time. Your second rule asks for a request whose destination is the domain bnsdmmyx.de5.net and also the IP 104.233.148.34, and no request is ever both. The rule never matches, so the panel traffic falls through to your "user": [...] → "san" rule and leaves through the mobile-broadband exit, just as before.

This is my fault. The automated reply on #6655 suggested putting ip and domain in one rule, which is wrong. Sorry about that.

Fix: split it into two rules, and put both above the user → san rule in Xray Configs → Routing:

{
  "type": "field",
  "domain": ["full:bnsdmmyx.de5.net"],
  "outboundTag": "direct"
},
{
  "type": "field",
  "ip": ["104.233.148.34"],
  "outboundTag": "direct"
}

Save and restart Xray. Now the panel URL matches whether you open it by domain or by IP.

Why the first VPS works: its rule has one condition only ("ip": ["38.246.242.252"]), so it matches whenever you open that panel by its IP. The panel's default routing template uses "domainStrategy": "AsIs" (internal/web/service/config.json:62). With that setting Xray does not resolve domains when it checks routing rules, so an ip-only rule does not match if you open the panel by a domain name. That is why the domain rule is needed as a separate entry.

As before, do not open the panel by 127.0.0.1, localhost or a private address. The template's "ip": ["geoip:private"] → "blocked" rule drops those (internal/web/service/config.json:70-76).

If both panels still fail after you split the rule, reply with the exact URL you open (you can mask part of it) and the exact browser error text.

Verdict: Not a bug (user configuration). Related: #6655 (same setup; the combined-rule suggestion there is corrected above). The AND behaviour of conditions within one rule is documented Xray-core routing behaviour. It is not implemented in this repository, so I could not cite it from the checkout.

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

<!-- gh-comment-id:5846025916 --> @github-actions[bot] commented on GitHub (Sep 26, 2026): The problem is the second rule itself, not the VPS. In Xray, when one routing rule lists several conditions, **all** of them must match at the same time. Your second rule asks for a request whose destination is the domain `bnsdmmyx.de5.net` **and** also the IP `104.233.148.34`, and no request is ever both. The rule never matches, so the panel traffic falls through to your `"user": [...] → "san"` rule and leaves through the mobile-broadband exit, just as before. This is my fault. The automated reply on #6655 suggested putting `ip` and `domain` in one rule, which is wrong. Sorry about that. **Fix:** split it into two rules, and put both **above** the `user → san` rule in **Xray Configs → Routing**: ```json { "type": "field", "domain": ["full:bnsdmmyx.de5.net"], "outboundTag": "direct" }, { "type": "field", "ip": ["104.233.148.34"], "outboundTag": "direct" } ``` Save and restart Xray. Now the panel URL matches whether you open it by domain or by IP. **Why the first VPS works:** its rule has one condition only (`"ip": ["38.246.242.252"]`), so it matches whenever you open that panel by its IP. The panel's default routing template uses `"domainStrategy": "AsIs"` (`internal/web/service/config.json:62`). With that setting Xray does not resolve domains when it checks routing rules, so an `ip`-only rule does **not** match if you open the panel by a domain name. That is why the domain rule is needed as a separate entry. As before, do not open the panel by `127.0.0.1`, `localhost` or a private address. The template's `"ip": ["geoip:private"] → "blocked"` rule drops those (`internal/web/service/config.json:70-76`). If both panels still fail after you split the rule, reply with the exact URL you open (you can mask part of it) and the exact browser error text. Verdict: Not a bug (user configuration). Related: #6655 (same setup; the combined-rule suggestion there is corrected above). The AND behaviour of conditions within one rule is documented Xray-core routing behaviour. It is not implemented in this repository, so I could not cite it from the checkout. *This reply was generated automatically. A maintainer may follow up.* <!-- claude-issue:analyst -->
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#4445
No description provided.