mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 19:11:53 +07:00
[GH-ISSUE #5850] [Feature]: fullback #4065
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#4065
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 @m0rteza1 on GitHub (Jul 7, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5850
Is your feature request related to a problem?
Hi, to use fullback, there must be a tls or reality configuration, but I want to use port 80 without tls and reality as fullback for several inbounds. If it is not possible to set up fullback without tls, it is practically impossible to use cloud containers that only have access to port 80, or you have to get a dedicated IP and pay more, which is not cost-effective. Please restore the ability to set up fullback for inbounds without tls.
Describe the solution you'd like
Just put it back the way it was before.
Alternatives you've considered
No response
Concrete use case
No response
Mockups, screenshots, or examples
No response
Which parts of the panel would this affect?
No response
Are you willing to help?
Before submitting
@github-actions[bot] commented on GitHub (Jul 7, 2026):
Confirmed: this is a deliberate restriction in the current codebase, not a bug, and there is prior history to it.
Where it's enforced
frontend/src/pages/inbounds/form/InboundFormModal.tsx:238-241only renders the Fallbacks card whenisFallbackHostis true, defined as(protocol === VLESS || TROJAN) && network === 'tcp' && (security === 'tls' || security === 'reality'). Otherwise it shows an inline alert (pages.inbounds.fallbacks.needsTls): "Fallbacks become available once Security is set to TLS or Reality on the Security tab (VLESS/Trojan over RAW only)."internal/web/service/inbound_protocol.go,inboundCanHostFallbacks/streamSupportsFallbacks(same three conditions) gate whethersettings.fallbacksis even written into the Xray config at generation time (internal/web/service/xray.go:244). So even bypassing the UI would not get a plain-TCP, no-security inbound a working fallback in the current version — the panel omits the key when building the config it hands to Xray-core.On "put it back the way it was"
There is precedent for this request: issue #129 ("Add fallbacks without TLS/xTLS enabled") was closed as completed back in 2023, so earlier versions of 3x-ui did allow configuring fallbacks on a plain, non-TLS inbound. The current TLS/Reality-only gate was added later as part of the dedicated Fallbacks UI/DB feature.
Worth noting on the Xray-core side
This restriction is a 3x-ui product decision, not something Xray-core itself requires. In the vendored
github.com/xtls/xray-coresource for the VLESS and Trojan inbound handlers (proxy/vless/inbound/inbound.go,proxy/trojan/server.go), the fallback trigger works directly off the raw connection: it only pulls SNI/ALPN when the connection happens to be a*tls.Connor*reality.Conn; otherwisename/alpnstay empty and it falls through to the default (unnamed) fallback entry. In other words, Xray-core'sfallbacksarray does function on a plain TCP inbound withsecurity: none— the requirement here is enforced by 3x-ui, not by upstream.This reads as a legitimate feature request to loosen
inboundCanHostFallbacks/isFallbackHostto also allowsecurity === 'none'on raw TCP for VLESS/Trojan, rather than a defect. Whether and when to make that change is the maintainer's call, not something that can be promised here, but the technical basis for the request holds up.This reply was generated automatically; a maintainer may follow up.