mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[GH-ISSUE #5813] [Feature]: For freedom creation #4039
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#4039
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 @adisubagja on GitHub (Jul 5, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5813
Is your feature request related to a problem?
Fallbacks become available once Security is set to TLS or Reality on the Security tab (VLESS/Trojan over RAW only).
This makes it difficult for me to be creative freely, because of my country's regulations regarding freedom on port 80.
Describe the solution you'd like
I need fallback for non tls / security None
Alternatives you've considered
No response
Concrete use case
No response
Mockups, screenshots, or examples
Which parts of the panel would this affect?
Xray config generation
Are you willing to help?
Before submitting
@github-actions[bot] commented on GitHub (Jul 5, 2026):
This is a real, current limitation in 3x-ui, not a bug — fallbacks are only wired up for VLESS/Trojan inbounds on raw TCP with
security: tlsorsecurity: reality. It's enforced in two places, both client- and server-side:frontend/src/pages/inbounds/form/InboundFormModal.tsx:238-241. The Fallbacks card is only rendered whenisFallbackHostis true (protocolis VLESS/Trojan,network === 'tcp', andsecurityistlsorreality). Withsecurity: noneyou get the informational alert you screenshotted instead (pages.inbounds.fallbacks.needsTls,internal/web/translation/en-US.json:307).internal/web/service/inbound_protocol.go:86-119(inboundCanHostFallbacks/streamSupportsFallbacks), called frominternal/web/service/xray.go:244at the point the panel assembles the actual Xray config. This is a hard server-side gate: even if you add afallbacksarray by hand to asecurity: noneinbound via the API, it is stripped out before it reaches Xray.The code comment on
inboundCanHostFallbacksstates this is intentional — fallbacks are treated as a raw-TCP + TLS/Reality-only feature in 3x-ui's config generation, stricter than what's required to enable the VLESS XTLS flow. It is not a config toggle; relaxing it forsecurity: nonewould require a code change.This has been requested before: #129 ("Add fallbacks without TLS/xTLS enabled", 2023) and more recently #5439, which has a fuller technical writeup of why 3x-ui ties
fallbacksto TLS/Reality on raw TCP. Both remain closed, and per the current source cited above, the restriction is still in place.Workaround for a port-80 / no-TLS setup: put a reverse proxy (nginx, Caddy, HAProxy) in front of the port instead of relying on the panel's
fallbacksfield. Terminate the connection there and forward only the recognizable proxy traffic to your Xray inbound (stillsecurity: none) on a local port, letting the reverse proxy serve a normal-looking site or handle everything else. That isn't overwritten by panel saves and gives fallback-like camouflage on plain TCP without depending on Xray's nativefallbacksarray.This reply was generated automatically; a maintainer may follow up.