[GH-ISSUE #5342] [Bug]: Subscription JSON template: change inbound protocol from mixed to socks #3743

Closed
opened 2026-10-31 20:34:38 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @Marat-KZN on GitHub (Jun 15, 2026).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5342

Describe the bug

Hello, will there be a solution to this problem, as routes don't work in iOS?
https://github.com/MHSanaei/3x-ui/issues/4138#issue-4356948746

How to reproduce the problem

https://github.com/MHSanaei/3x-ui/issues/4138#issue-4356948746

Expected behavior

No response

Actual behavior

No response

Relevant logs


Screenshots

No response

3x-ui version

3.3.1

Xray-core version

No response

How did you install 3x-ui?

install.sh script

Operating system

Ubuntu 24

Which parts of the panel are affected?

No response

Browser (only if it is a UI bug)

No response

Is the panel behind a reverse proxy or CDN?

None

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 @Marat-KZN on GitHub (Jun 15, 2026). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/5342 ### Describe the bug Hello, will there be a solution to this problem, as routes don't work in iOS? https://github.com/MHSanaei/3x-ui/issues/4138#issue-4356948746 ### How to reproduce the problem https://github.com/MHSanaei/3x-ui/issues/4138#issue-4356948746 ### Expected behavior _No response_ ### Actual behavior _No response_ ### Relevant logs ```shell ``` ### Screenshots _No response_ ### 3x-ui version 3.3.1 ### Xray-core version _No response_ ### How did you install 3x-ui? install.sh script ### Operating system Ubuntu 24 ### Which parts of the panel are affected? _No response_ ### Browser (only if it is a UI bug) _No response_ ### Is the panel behind a reverse proxy or CDN? None ### 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:34:38 +07:00
Author
Owner

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

This is a duplicate of #4138, which raised the identical request. Discussion should continue there.

For context on what the code currently does: the internal/sub/default.json template (embedded at compile time in internal/sub/json_service.go) defines the local inbound block with "protocol": "mixed". The three runtime customization settings available for the JSON subscription — subJsonMux, subJsonRules, and subJsonFinalMask (see internal/web/service/setting.go) — control outbound mux, routing rules, and stream-settings masking respectively. None of them cover the inbounds section of the template. There is currently no built-in mechanism to change the local inbound protocol from mixed to socks without a code change.

If you want this tracked as a feature request, please open a new issue with the enhancement framing rather than bug, describing the iOS routing problem and the desired setting (e.g. a subJsonInbounds override in Panel Settings).

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

<!-- gh-comment-id:4707490650 --> @github-actions[bot] commented on GitHub (Jun 15, 2026): This is a duplicate of #4138, which raised the identical request. Discussion should continue there. For context on what the code currently does: the `internal/sub/default.json` template (embedded at compile time in `internal/sub/json_service.go`) defines the local inbound block with `"protocol": "mixed"`. The three runtime customization settings available for the JSON subscription — `subJsonMux`, `subJsonRules`, and `subJsonFinalMask` (see `internal/web/service/setting.go`) — control outbound mux, routing rules, and stream-settings masking respectively. None of them cover the `inbounds` section of the template. There is currently no built-in mechanism to change the local inbound protocol from `mixed` to `socks` without a code change. If you want this tracked as a feature request, please open a new issue with the `enhancement` framing rather than `bug`, describing the iOS routing problem and the desired setting (e.g. a `subJsonInbounds` override in Panel Settings). *This reply was generated automatically; a maintainer may follow up.*
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#3743
No description provided.