mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-12-03 21:18:19 +07:00
[GH-ISSUE #4486] Freedom outbound lacks proxy protocol support #3062
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#3062
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 @maxbranson64-eng on GitHub (May 21, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/4486
Describe the bug
According to xray manual freedom outbound supports proxy protocol parameter. But in 3xui it is not possible to set it for freedom outbound. Does not work in 2.9.4 and 3.0.2.
How to repeat the problem?
Expected action
No response
Received action
No response
3x-ui Version
3.0.2
Xray-core Version
No response
Checklist
@maxbranson64-eng commented on GitHub (May 29, 2026):
Still an issue, you cannot set proxy protocol in Settings block of Freedom outbound (line 22 of outboundconfigurationobject): https://xtls.github.io/ru/config/outbounds/freedom.html#outboundconfigurationobject
@MHSanaei commented on GitHub (May 29, 2026):
Fixed in
62c293e0.Xray's freedom outbound accepts a numeric
proxyProtocol(0 = disabled, 1 or 2 = PROXY protocol version). The panel had no field for it, and the typed outbound form adapter only emits modeled fields on save — so a value added via the JSON editor was dropped the moment the outbound was saved.The freedom outbound now models
proxyProtocolend-to-end (wire schema, form schema, both adapter directions) and exposes a selector in the Outbounds form: (none) / v1 / v2. It's omitted from the config when set to disabled, and round-trips correctly through the JSON editor.