[GH-ISSUE #4821] [Bug]: Reverse proxy (Panel to Panel) not connecting in v3.2.6 with Xray v26.6.1 #3355

Closed
opened 2026-10-31 20:31:52 +07:00 by bsakaguchi · 3 comments
Owner

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:

  • 3x-ui Version: 3.2.6
  • Xray Core Version: 26.6.1

Steps to Reproduce:

  1. Configure Panel-to-Panel reverse proxy setting according to the standard configuration.
  2. Enable the connection.
  3. The connection remains inactive/failed, and logs remain completely empty (no error output).

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:

  • 3x-ui Version: 3.2.6
  • Xray Core Version: 26.6.1

Steps to Reproduce:

  1. Configure Panel-to-Panel reverse proxy setting according to the standard configuration.
  2. Enable the connection.
  3. The connection remains inactive/failed, and logs remain completely empty (no error output).

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

  • I searched existing issues and this bug has not been reported.
  • I am running the latest released version of 3x-ui (or have verified the bug still exists on it).
  • This bug report is written in English.
  • I have redacted any sensitive data (tokens, real domains, client UUIDs).
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: * 3x-ui Version: 3.2.6 * Xray Core Version: 26.6.1 Steps to Reproduce: 1. Configure Panel-to-Panel reverse proxy setting according to the standard configuration. 2. Enable the connection. 3. The connection remains inactive/failed, and logs remain completely empty (no error output). 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: * 3x-ui Version: 3.2.6 * Xray Core Version: 26.6.1 Steps to Reproduce: 1. Configure Panel-to-Panel reverse proxy setting according to the standard configuration. 2. Enable the connection. 3. The connection remains inactive/failed, and logs remain completely empty (no error output). 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 ```shell ``` ### 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 - [x] I searched [existing issues](../issues?q=is%3Aissue) and this bug has not been reported. - [x] I am running the latest released version of 3x-ui (or have verified the bug still exists on it). - [x] This bug report is written in English. - [x] I have redacted any sensitive data (tokens, real domains, client UUIDs).
bsakaguchi 2026-10-31 20:31:52 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@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

  1. 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.

  2. 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.

<!-- gh-comment-id:4604117372 --> @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** 1. **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. 2. **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.
Author
Owner

@GoldenVDS commented on GitHub (Jun 2, 2026):

برای سرور ایران فعلا دانگرید به هسته ها ممکن نیست

<!-- gh-comment-id:4604170939 --> @GoldenVDS commented on GitHub (Jun 2, 2026): برای سرور ایران فعلا دانگرید به هسته ها ممکن نیست
Author
Owner

@dreambird25 commented on GitHub (Jun 3, 2026):

新增的tunnel协议不会生效,当我重启xray后就可以工作了,v3.2.6 + v26.6.1

<!-- gh-comment-id:4610473060 --> @dreambird25 commented on GitHub (Jun 3, 2026): 新增的tunnel协议不会生效,当我重启xray后就可以工作了,v3.2.6 + v26.6.1
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#3355
No description provided.