[GH-ISSUE #1394] Is it possible to add a "chain transit" feature? #940

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

Originally created by @mincase on GitHub (Dec 16, 2023).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/1394

Dear @M4hbod 👍
Hello, I'm a user of 3x-ui and the UI of this project is very nice. I have a request to add a "chain transit" feature, kind of like the current "dokodemo-door" protocol. For example, when I add a "vmess" protocol inbound I can customize the outbounds rules. I think others would like to have this feature as well.

Let me provide two examples. I believe that having this feature would be quite interesting. Here are the details:

Example 1: Protocol Conversion

Scenario:
I would like to use an existing vmess node (Node A) in a specific browser through the SwitchyOmega plugin. However, the plugin doesn't directly support the vmess protocol. Therefore, I wish to convert the vmess protocol into a supported protocol, such as HTTP, using the software.

Implementation:
In the local configuration file, this can be achieved using V2Ray. However, configuring and managing this without a GUI can be somewhat inconvenient. Below is an example of the configuration file:

{
   ...
  "inbounds": [
    {
      "port": 10801,
      "listen": "0.0.0.0",
      "tag": "A",
      "protocol": "http"
    }
  ],
  "outbounds": [
    {
      "tag": "o-A",
      "protocol": "vmess",
      "settings": {
        // vmess settings...
      },
      "streamSettings": {
        // stream settings...
      },
      "mux": {
        // mux settings...
      }
    }
  ],
  ...
  "routing": {
    // routing settings...
    "rules": [
      {
        "type": "field",
        "inboundTag": ["A"],
        "outboundTag": "o-A"
      }
    ]
    ...
  }
  ...
}

Example 2: Controllable Node Sharing

Scenario:
I want to share a vmess node in a controlled manner with others while restricting its usage in terms of time and data.

Implementation:
Chain transit is also possible with 3x-ui. However, the current approach using the "dokodemo-door" protocol has security and multi-user support concerns. Therefore, I hope to add alternative relay protocols, such as support for the vmess protocol.
By introducing a relay solution for the vmess protocol, it would be safer and more flexible to control usage times, manage traffic and support multiple users without having to map new ports for each user.

Originally created by @mincase on GitHub (Dec 16, 2023). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/1394 Dear @M4hbod 👍 Hello, I'm a user of 3x-ui and the UI of this project is very nice. I have a request to add a "chain transit" feature, kind of like the current "dokodemo-door" protocol. For example, when I add a "vmess" protocol inbound I can customize the outbounds rules. I think others would like to have this feature as well. Let me provide two examples. I believe that having this feature would be quite interesting. Here are the details: ### Example 1: Protocol Conversion **Scenario:** I would like to use an existing vmess node (Node A) in a specific browser through the SwitchyOmega plugin. However, the plugin doesn't directly support the vmess protocol. Therefore, I wish to convert the vmess protocol into a supported protocol, such as HTTP, using the software. **Implementation:** In the local configuration file, this can be achieved using V2Ray. However, configuring and managing this without a GUI can be somewhat inconvenient. Below is an example of the configuration file: ``` { ... "inbounds": [ { "port": 10801, "listen": "0.0.0.0", "tag": "A", "protocol": "http" } ], "outbounds": [ { "tag": "o-A", "protocol": "vmess", "settings": { // vmess settings... }, "streamSettings": { // stream settings... }, "mux": { // mux settings... } } ], ... "routing": { // routing settings... "rules": [ { "type": "field", "inboundTag": ["A"], "outboundTag": "o-A" } ] ... } ... } ``` ### Example 2: Controllable Node Sharing **Scenario:** I want to share a vmess node in a controlled manner with others while restricting its usage in terms of time and data. **Implementation:** Chain transit is also possible with 3x-ui. However, the current approach using the "dokodemo-door" protocol has security and multi-user support concerns. Therefore, I hope to add alternative relay protocols, such as support for the vmess protocol. By introducing a relay solution for the vmess protocol, it would be safer and more flexible to control usage times, manage traffic and support multiple users without having to map new ports for each user.
bsakaguchi 2026-10-31 20:15:29 +07:00
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#940
No description provided.