mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4821] [Bug]: Reverse proxy (Panel to Panel) not connecting in v3.2.6 with Xray v26.6.1 #3355
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#3355
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 @GoldenVDS on GitHub (Jun 2, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4821
Describe the bug
After updating to version 3.2.6 (using Xray core 26.6.1), the reverse proxy connection between panels (Panel to Panel) no longer establishes. The core does not connect, and surprisingly, no error or warning is logged in the panel or Xray logs.
Environment:
Steps to Reproduce:
Expected Behavior:
The reverse connection should establish successfully between the two panels as it did in previous versions.
Actual Behavior:
No connection is made, and no error messages or logs are generated to help diagnose the issue.
How to reproduce the problem
After updating to version 3.2.6 (using Xray core 26.6.1), the reverse proxy connection between panels (Panel to Panel) no longer establishes. The core does not connect, and surprisingly, no error or warning is logged in the panel or Xray logs.
Environment:
Steps to Reproduce:
Expected Behavior:
The reverse connection should establish successfully between the two panels as it did in previous versions.
Actual Behavior:
No connection is made, and no error messages or logs are generated to help diagnose the issue.
Expected behavior
No response
Actual behavior
No response
Relevant logs
Screenshots
No response
3x-ui version
3.2.6
Xray-core version
26.6.1
How did you install 3x-ui?
install.sh script
Operating system
Ubuntu 22.04 lts
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?
Yes — other
Before submitting
@github-actions[bot] commented on GitHub (Jun 2, 2026):
Thanks for the detailed report.
This is a known issue related to a behaviour change in xray-core v26.5+, also discussed in #4782 for earlier panel versions.
Root cause
xray-core v26.5 reworked the reverse-proxy mechanism. On bridge servers, the Freedom outbound finalRules must now permit WAN egress, not just private-IP traffic. Existing installs upgraded from older versions keep the old stored value that restricts egress to geoip:private, which silently blocks tunnel traffic — no startup error, no obvious log entry.
Fix status
A migration fix was committed to the main branch after the v3.2.6 release tag. It automatically rewrites the affected finalRules on startup for any install matching this exact pattern. It will be included in the next release.
Workarounds until then
Recommended — manual config fix (no downgrade needed):
On your bridge server, go to Xray Configuration > Outbounds and open the Freedom outbound.
In its finalRules, remove the geoip:private IP condition so the rule becomes a plain unconditional allow.
Save and restart the core. The reverse tunnel should connect immediately.
Alternative — pin xray-core on the bridge server:
In Panel Settings > Xray Configuration > Core version, select v26.4.25.
No config change required; restores the old behaviour.
This only affects the bridge server side. The portal server configuration does not need to change.
@GoldenVDS commented on GitHub (Jun 2, 2026):
برای سرور ایران فعلا دانگرید به هسته ها ممکن نیست
@dreambird25 commented on GitHub (Jun 3, 2026):
新增的tunnel协议不会生效,当我重启xray后就可以工作了,v3.2.6 + v26.6.1