[GH-ISSUE #4486] Freedom outbound lacks proxy protocol support #3062

Closed
opened 2026-10-31 20:29:49 +07:00 by bsakaguchi · 2 comments
Owner

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?

  1. Open Outbounds
  2. Create new outbound with protocol - Freedom
  3. There is no field to set proxy protocol version
  4. If you set it manually with JSON, it will be deleted once saved

Expected action

No response

Received action

No response

3x-ui Version

3.0.2

Xray-core Version

No response

Checklist

  • This bug report is written entirely in English.
  • This bug report is new and no one has reported it before me.
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? 1. Open Outbounds 2. Create new outbound with protocol - Freedom 3. There is no field to set proxy protocol version 4. If you set it manually with JSON, it will be deleted once saved ### Expected action _No response_ ### Received action _No response_ ### 3x-ui Version 3.0.2 ### Xray-core Version _No response_ ### Checklist - [x] This bug report is written entirely in English. - [x] This bug report is new and no one has reported it before me.
bsakaguchi 2026-10-31 20:29:49 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@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

<!-- gh-comment-id:4571364874 --> @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
Author
Owner

@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 proxyProtocol end-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.

<!-- gh-comment-id:4576839086 --> @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 `proxyProtocol` end-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.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#3062
No description provided.