mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #5447] [Bug]: Vless Reverse proxy #3808
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#3808
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 @Sepandkazemi on GitHub (Jun 20, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5447
Describe the bug
Hello Vless Reverse proxy of v3 sanaei panel is stopping working if you install xanmod script
How to reproduce the problem
1.Vless reverse proxy
Expected behavior
solve this bug as soon as possible thank you
Actual behavior
No response
Relevant logs
Screenshots
No response
3x-ui version
3.3.1
Xray-core version
26.6.1
How did you install 3x-ui?
install.sh script
Operating system
ubuntu 22.04
Which parts of the panel are affected?
Other
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 20, 2026):
The symptom you describe -- VLESS Reverse Proxy stopping after a system change -- is consistent with a known root cause documented in #4782, but the panel v3.3.1 already contains a partial fix for it. Whether that migration applied to your config, and whether the XanMod kernel is actually the trigger or a coincidence, cannot be determined without more information.
Background on the known issue
Starting with Xray-core 26.5.x, the freedom outbound enforces a default safety policy: traffic arriving via VLESS Reverse Proxy is silently dropped unless finalRules in that outbound contains an explicit allow entry. The panel v3.3.1 includes a FreedomFinalRulesReverseFix migration (internal/database/db.go) that upgrades the specific pattern of a private-only allow rule to an unconditional allow. However, if your freedom outbound had no finalRules at all -- typical of a fresh install -- the migration is a no-op and the outbound still lacks the required allow rule.
Regarding XanMod
XanMod is a Linux kernel variant; nothing in the 3x-ui source references it. It does not affect Xray reverse proxy config or the finalRules policy. The correlation with the kernel install is most likely coincidental -- a reboot may have triggered a core restart that surfaced a pre-existing config gap. To confirm or rule it out, boot back into the standard kernel and check whether reverse proxy works.
Known workaround (try this first)
In the panel on the bridge server, go to Xray Configuration -> Outbounds, edit the freedom outbound, and ensure finalRules contains at least one unconditional allow rule. In the Outbounds edit form, add a Final Rules entry with action: allow and no other filters. Save and restart the Xray core. If this resolves the issue, that confirms the root cause is the finalRules safety policy introduced in xray-core 26.5+, not the kernel.
Information needed to investigate further
This reply was generated automatically; a maintainer may follow up.
@Sepandkazemi commented on GitHub (Jun 20, 2026):
thank you the problem is outbound of foreign server after reboot should add outbound again to reverse proxy working properly
@Sepandkazemi commented on GitHub (Jun 20, 2026):
You right it's not relevant to xanmod script