mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4773] [Bug]: Reverse tag #3310
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#3310
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 @rezakhosh78 on GitHub (Jun 1, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4773
Describe the bug
Reverse tag does not work on X-Ray versions higher than v26.4.25.
How to reproduce the problem
Reverse tag does not work on X-Ray versions higher than v26.4.25.
Expected behavior
No response
Actual behavior
No response
Relevant logs
Screenshots
No response
3x-ui version
3.2.5
Xray-core version
v26.6.1
How did you install 3x-ui?
install.sh script
Operating system
Ubuntu22
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
@github-actions[bot] commented on GitHub (Jun 1, 2026):
Thank you for the report!
Could you please provide more details to help investigate this?
x-ui logor check/usr/local/x-ui/bin/xrayoutput and share any error messages related to reverse configuration.This version-specific regression (working on v26.4.25 but broken on v26.6.1) is useful context — Xray-core may have changed how reverse proxy configuration is parsed in newer releases. The more detail you can share, the easier it will be to pinpoint the cause.
@MHSanaei commented on GitHub (Jun 1, 2026):
don't tell me i already know that
go share with xray i can't do anything about it
@rezakhosh78 commented on GitHub (Jun 1, 2026):
Okay, thank you.
@welltimat commented on GitHub (Jun 2, 2026):
if you mean "reverse object" it was removed and replaced by "reverse" fields in inbound and outbound. It works. can search for "new vless reverse proxy" for details. also it is important that freedom outbound on bridge server should have final rules with allow set (it was not required before in older versions).
@rezakhosh78 commented on GitHub (Aug 10, 2026):
VLESS Reverse traffic is blocked by default Freedom outbound since v26.5+ unless finalRules
Description
There appears to be a backward-incompatible behavior change affecting VLESS Reverse when using the standard/default Freedom outbound configuration.
The following Freedom outbound works correctly with Xray-core
v26.4.25:With this configuration, VLESS Reverse works normally on
v26.4.25.However, after upgrading to Xray-core
v26.7.28, the Reverse connection appears to establish successfully, but actual traffic cannot pass through the Reverse tunnel.The configuration itself is unchanged.
Versions tested
Working:
Not working:
Actual behavior
With
v26.7.28and the default Freedom configuration:the VLESS Reverse tunnel appears to be established, but normal Internet traffic does not work through the Reverse connection.
There is no obvious configuration error indicating that the Freedom outbound is blocking the Reverse traffic.
Workaround
Adding an unconditional
allowrule toFreedom.finalRulesimmediately fixes the problem onv26.7.28:No other Reverse configuration changes are required.
After adding:
VLESS Reverse starts passing traffic normally again.
Expected behavior
A standard Freedom outbound without
finalRules:should either:
vless-reverseis being blocked by the new default policy.Silently establishing the Reverse connection while blocking its actual traffic makes the issue difficult to diagnose and also breaks existing configurations that worked on previous Xray versions.
Regression
This configuration works on:
but does not work on:
unless an explicit unconditional
finalRules: allowrule is added.This appears related to the newer Freedom
finalRules/ default security policy behavior introduced afterv26.4.25.Suggested fix
Please consider one of the following:
finalRulesis not explicitly configured.block allto VLESS Reverse traffic when the user has not configuredfinalRules.For example, existing Reverse users currently need to manually change their Freedom outbound to:
to restore the behavior they had before the upgrade.
The important difference here is that the problem is reproducible with the normal Freedom configuration without any
finalRulesat all, and adding an explicit unconditionalallowfixes it onv26.7.28.Reproduction Method
Suggested fix
finalRulesis not explicitly configured.block allto VLESS Reverse traffic when the user has not configuredfinalRules.For example, existing Reverse users currently need to manually change their Freedom outbound to:
@MHSanaei