[GH-ISSUE #5576] [Bug]: External Proxy option removed in v3.4.0 #3895

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

Originally created by @lightmoonsh on GitHub (Jun 25, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5576

Describe the bug

Hello

After updating to version v3.4.0 the External Proxy option has been removed from the panel menus

However it still exists in the Xray config and can be added manually:

"externalProxy": [
{
"forceTls": "same",
"dest": "",
"port": 443,
"remark": "",
"sni": "",
"alpn": [],
"pinnedPeerCertSha256": []
}
]

I wanted to ask if this option was intentionally removed or if it is a bug in the new version

One more thing:
When security is set to none and ML-KEM is enabled it seems that ML-KEM is still applied Is this expected behavior?

If possible, please add the External Proxy option back to the panel.

Thanks

How to reproduce the problem

  1. Open the Inbounds page
  2. Create or edit a VLESS inbound
  3. Check the stream settings options
  4. External Proxy option is not available anymore

Expected behavior

External Proxy option should be available in the panel like previous versions

Actual behavior

External Proxy is missing from the UI and can only be added manually in the JSON config.

Relevant logs


Screenshots

Image

3x-ui version

v3.4.0

Xray-core version

v26.6.22

How did you install 3x-ui?

install.sh script

Operating system

Ubuntu 24.04

Which parts of the panel are affected?

Frontend (UI / panel pages), Backend (API endpoints, login, settings)

Browser (only if it is a UI bug)

No response

Is the panel behind a reverse proxy or CDN?

No response

Before submitting

  • I searched existing issues and this bug has not been reported.
  • I am running the latest released version of 3x-ui (or have verified the bug still exists on it).
  • This bug report is written in English.
  • I have redacted any sensitive data (tokens, real domains, client UUIDs).
Originally created by @lightmoonsh on GitHub (Jun 25, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5576 ### Describe the bug Hello After updating to version v3.4.0 the External Proxy option has been removed from the panel menus However it still exists in the Xray config and can be added manually: "externalProxy": [ { "forceTls": "same", "dest": "", "port": 443, "remark": "", "sni": "", "alpn": [], "pinnedPeerCertSha256": [] } ] I wanted to ask if this option was intentionally removed or if it is a bug in the new version One more thing: When security is set to none and ML-KEM is enabled it seems that ML-KEM is still applied Is this expected behavior? If possible, please add the External Proxy option back to the panel. Thanks ### How to reproduce the problem 1. Open the Inbounds page 2. Create or edit a VLESS inbound 3. Check the stream settings options 4. External Proxy option is not available anymore ### Expected behavior External Proxy option should be available in the panel like previous versions ### Actual behavior External Proxy is missing from the UI and can only be added manually in the JSON config. ### Relevant logs ```shell ``` ### Screenshots <img width="764" height="606" alt="Image" src="https://github.com/user-attachments/assets/c3a2439a-84c0-42d2-9aae-035d233c8c88" /> ### 3x-ui version v3.4.0 ### Xray-core version v26.6.22 ### How did you install 3x-ui? install.sh script ### Operating system Ubuntu 24.04 ### Which parts of the panel are affected? Frontend (UI / panel pages), Backend (API endpoints, login, settings) ### Browser (only if it is a UI bug) _No response_ ### Is the panel behind a reverse proxy or CDN? _No response_ ### Before submitting - [x] I searched [existing issues](../issues?q=is%3Aissue) and this bug has not been reported. - [x] I am running the latest released version of 3x-ui (or have verified the bug still exists on it). - [x] This bug report is written in English. - [x] I have redacted any sensitive data (tokens, real domains, client UUIDs).
bsakaguchi 2026-10-31 20:35:43 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@github-actions[bot] commented on GitHub (Jun 25, 2026):

The removal of the External Proxy option from the inbound form in v3.4.0 is intentional. It was replaced by the new Managed Hosts feature, not removed outright.

What changed and why

The externalProxy array in the stream settings has been superseded by the dedicated Hosts page (/hosts in the sidebar). A Host record is the same concept — a per-inbound override endpoint that generates an extra share link at subscription time with its own address, port, TLS settings, SNI, ALPN, pinned certificate, etc. — but it is now a first-class database object that can be listed, searched, enabled/disabled individually, tagged, and reordered without going into the inbound form. The code comment in frontend/src/pages/inbounds/form/InboundFormModal.tsx (line 822) confirms this explicitly:

// The legacy externalProxy section is replaced by the Hosts page; the
// field is still parsed/rendered for backward compatibility but is no
// longer editable here.

The schema relationship is documented in frontend/src/schemas/api/host.ts (line 7):

"A Host is a per-inbound override endpoint: at subscription time each enabled host renders one extra share link/proxy with its own address/port/TLS, etc., superseding the legacy externalProxy array."

Automatic data migration

Upgrading to v3.4.0 runs a one-time self-gated migration (seedHostsFromExternalProxy in internal/database/db.go:167) that reads every externalProxy entry from every inbound's StreamSettings and creates an equivalent Host row. The original externalProxy array is left intact in the JSON column (additive, rollback-safe). If your inbounds had externalProxy entries before upgrading, they should now appear as Host records on the Hosts page, linked to the corresponding inbound.

To verify: open the panel, navigate to Hosts in the sidebar, and look for entries associated with your VLESS inbound. You can create, edit, and manage them there going forward.

ML-KEM with security=none

The ML-KEM (mlkem768) option in the VLESS form operates at the VLESS protocol layer, not the transport security layer. The comment in frontend/src/lib/xray/protocol-capabilities.ts (line 42–46) explains:

"VLESS encryption (vlessenc / ML-KEM) is on when encryption or decryption holds a generated value (e.g. mlkem768x25519plus.native.0rtt.<key>) rather than the none/'' sentinel."

And in canEnableTlsFlow (line 60–61):

"vlessenc carries Vision over XHTTP without transport TLS."

So ML-KEM is an independent encryption layer within the VLESS protocol itself. Setting transport security to none does not disable it — this is expected behavior, not a bug. The two settings control different protocol layers.

Summary

  • External Proxy is not lost — it migrated to the Hosts page on upgrade. Check /hosts in the panel.
  • If no Host rows appear after upgrading from a version that had externalProxy entries, that would be a genuine migration bug worth reporting with the specific inbound configuration.
  • ML-KEM remaining active when security=none is by design; it encrypts at the VLESS layer independently of the transport security.

This reply was generated automatically; a maintainer may follow up.

<!-- gh-comment-id:4804866313 --> @github-actions[bot] commented on GitHub (Jun 25, 2026): The removal of the External Proxy option from the inbound form in v3.4.0 is intentional. It was replaced by the new **Managed Hosts** feature, not removed outright. **What changed and why** The `externalProxy` array in the stream settings has been superseded by the dedicated Hosts page (`/hosts` in the sidebar). A `Host` record is the same concept — a per-inbound override endpoint that generates an extra share link at subscription time with its own address, port, TLS settings, SNI, ALPN, pinned certificate, etc. — but it is now a first-class database object that can be listed, searched, enabled/disabled individually, tagged, and reordered without going into the inbound form. The code comment in `frontend/src/pages/inbounds/form/InboundFormModal.tsx` (line 822) confirms this explicitly: ``` // The legacy externalProxy section is replaced by the Hosts page; the // field is still parsed/rendered for backward compatibility but is no // longer editable here. ``` The schema relationship is documented in `frontend/src/schemas/api/host.ts` (line 7): > "A Host is a per-inbound override endpoint: at subscription time each enabled host renders one extra share link/proxy with its own address/port/TLS, etc., superseding the legacy externalProxy array." **Automatic data migration** Upgrading to v3.4.0 runs a one-time self-gated migration (`seedHostsFromExternalProxy` in `internal/database/db.go:167`) that reads every `externalProxy` entry from every inbound's `StreamSettings` and creates an equivalent `Host` row. The original `externalProxy` array is left intact in the JSON column (additive, rollback-safe). If your inbounds had `externalProxy` entries before upgrading, they should now appear as Host records on the Hosts page, linked to the corresponding inbound. To verify: open the panel, navigate to **Hosts** in the sidebar, and look for entries associated with your VLESS inbound. You can create, edit, and manage them there going forward. **ML-KEM with security=none** The ML-KEM (mlkem768) option in the VLESS form operates at the **VLESS protocol layer**, not the transport security layer. The comment in `frontend/src/lib/xray/protocol-capabilities.ts` (line 42–46) explains: > "VLESS encryption (vlessenc / ML-KEM) is on when encryption or decryption holds a generated value (e.g. `mlkem768x25519plus.native.0rtt.<key>`) rather than the `none`/`''` sentinel." And in `canEnableTlsFlow` (line 60–61): > "vlessenc carries Vision over XHTTP without transport TLS." So ML-KEM is an independent encryption layer within the VLESS protocol itself. Setting transport security to `none` does not disable it — this is expected behavior, not a bug. The two settings control different protocol layers. **Summary** - External Proxy is not lost — it migrated to the Hosts page on upgrade. Check `/hosts` in the panel. - If no Host rows appear after upgrading from a version that had `externalProxy` entries, that would be a genuine migration bug worth reporting with the specific inbound configuration. - ML-KEM remaining active when security=none is by design; it encrypts at the VLESS layer independently of the transport security. *This reply was generated automatically; a maintainer may follow up.*
Author
Owner

@sagidM commented on GitHub (Jun 26, 2026):

@github-actions by the way, when migrating to 3.4.0, it converted every external proxy to 2 the same host entries - duplicated. I hope this was fixed in 3.4.1.
But anyway, does creating the inbound with external proxy break now or is it backward compatible?
And when creating several inbounds and external proxy for each, is there a recommendation of what order to do it better or to create all the inbounds and then separately create the newly added hosts?

<!-- gh-comment-id:4809920888 --> @sagidM commented on GitHub (Jun 26, 2026): @github-actions by the way, when migrating to 3.4.0, it converted every external proxy to 2 the same host entries - duplicated. I hope this was fixed in 3.4.1. But anyway, does creating the inbound with external proxy break now or is it backward compatible? And when creating several inbounds and external proxy for each, is there a recommendation of what order to do it better or to create all the inbounds and then separately create the newly added hosts?
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#3895
No description provided.