[GH-ISSUE #42] multi outband #9

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

Originally created by @pchreza on GitHub (Mar 20, 2023).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/42

hi bro tnx for your god x-ui
How can several outbands be connected to x-ui as proxy servers?

Originally created by @pchreza on GitHub (Mar 20, 2023). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/42 hi bro tnx for your god x-ui How can several outbands be connected to x-ui as proxy servers?
Author
Owner

@alireza0 commented on GitHub (Mar 20, 2023):

Hi @pchreza
If you mean outbound-proxy in xray-core configuration, use folowing config for outbounds:

 [
        {
            "protocol": "vless",
            "settings": {
                "vnext": [
                    {
                        "address": "Server1",
                        "port": 443,
                        "users": [
                            {
                                "id": "",
                                "encryption": "none",
                                "level": 0
                            }
                        ]
                    },
                    {
                        "address": "Server2",
                        "port": 443,
                        "users": [
                            {
                                "id": "",
                                "encryption": "none",
                                "level": 0
                            }
                        ]
                    }
                ]
            },
            "streamSettings": {
                "network": "tcp",
                "security": "tls",
                "tlsSettings": {
                    "serverName": "example.domain",
                    "allowInsecure": false,
                    "alpn": [
                        "h2",
                        "http/1.1"
                    ],
                    "disableSessionResumption": true
                }
            },
            "tag": "proxy"
        },
        {
            "protocol": "freedom",
            "tag": "direct"
        }
    ],

You can find more examples in XTLS-Examples. Check client.json files.

<!-- gh-comment-id:1476284625 --> @alireza0 commented on GitHub (Mar 20, 2023): Hi @pchreza If you mean outbound-proxy in xray-core configuration, use folowing config for `outbounds`: ``` [ { "protocol": "vless", "settings": { "vnext": [ { "address": "Server1", "port": 443, "users": [ { "id": "", "encryption": "none", "level": 0 } ] }, { "address": "Server2", "port": 443, "users": [ { "id": "", "encryption": "none", "level": 0 } ] } ] }, "streamSettings": { "network": "tcp", "security": "tls", "tlsSettings": { "serverName": "example.domain", "allowInsecure": false, "alpn": [ "h2", "http/1.1" ], "disableSessionResumption": true } }, "tag": "proxy" }, { "protocol": "freedom", "tag": "direct" } ], ``` You can find more examples in [XTLS-Examples](https://github.com/XTLS/Xray-examples). Check `client.json` files.
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#9
No description provided.