mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4990] [Question]: How to set up reverse tunnel in new UI #3508
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#3508
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 @RezaHaghgoo on GitHub (Jun 5, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4990
What are you trying to do?
I'm trying to set up reverse tunnel in new UI. I want to know the step by step instruction.
What have you already tried?
i have seen the related video on youtube but for me it does not work.
3x-ui version
3.2.5
How did you install 3x-ui?
install.sh script
Operating system
Ubuntu 24
Screenshots or config snippets
No response
Before submitting
@github-actions[bot] commented on GitHub (Jun 5, 2026):
The most likely reason your reverse tunnel isn't working on v3.2.5 is a known bug that was fixed in v3.2.7: xray-core v26.5+ tightened the default Freedom outbound
finalRules, which silently blocks all egress for VLESS reverse-proxy traffic on existing installs. The panel now ships with a migration that automatically relaxes those rules on startup.Step 1 — Upgrade to v3.2.7 or later (required)
After upgrading, the startup migration will fix the Freedom outbound's
finalRulesautomatically. Then restart:Step 2 — Configure the reverse tunnel in the new UI
The feature uses a Reverse Tag field on a VLESS client, not a separate "reverse" section. Here is the general flow:
On the portal server (the server clients connect to directly):
On the bridge server (behind NAT / the Iran-side server):
reverse-bridge). This is thereverse→tagfield in the model — it tells xray this outbound is the bridge side of a reverse tunnel.inboundTagmatching the Reverse Tag → forward to the Freedom outbound.If it still doesn't work after upgrading, please share:
context deadline exceededin the logs (indicates theburstObservatorytiming issue from #4782)References: fix landed in v3.2.7 — fix(xray): default freedom finalRules, fix(migrate): relax legacy freedom finalRules (#4782).
@RezaHaghgoo commented on GitHub (Jun 5, 2026):
what do you mean by "forward to the Freedom outbound". tell the details
@MHSanaei commented on GitHub (Jun 6, 2026):
ask your question https://github.com/MHSanaei/3x-ui/discussions