XTLS-Iran-TLS icon indicating copy to clipboard operation
XTLS-Iran-TLS copied to clipboard

use your config with xui

Open 3245 opened this issue 2 years ago • 5 comments

Hello, i have installed x-ui panel already, and i want use your config and then use private CDN to hide ip, its possible? so if possible, what configs i should set on x-ui panel ? note: in x-ui panel i think i cant add vision

screenshot: https://prnt.sc/L5-0h-BTie1R

Thanks for your help

3245 avatar Mar 21 '23 09:03 3245

Not sure if Vision works with X-UI, I need to install X-UI at some later day and check.

In X-UI if I remember correctly, its possible to update xray-core, update to 1.7.5 and check if vision is available. Currently Vision works with VLESS and does not support websockets, but there is a way to use a websocket with a fallback from Vision, But I don't know if that setting works in X-UI.

Check https://github.com/XTLS/Xray-examples/blob/main/All-in-One-fallbacks-Nginx/server.json under vision you see fallbacks then websocket. You can direct CDN to that websocket so you have vision+CDN.

Unfortunately I have not tested this myself yet, and I don't know if it works in X-UI.

 // Websocket
{
 // if the path was `/vlws`, pass it to vless-ws listener
"path": "/vlws",
"dest": "@vless-ws",
 "xver": 2 //Enable the sending of the PROXY protocol, and send the real source IP and port to the following vmess+ws application. 1 or 2 indicates the PROXY protocol version. Consistent with the following, it is recommended to configure 2.
 },
{
      "listen": "@vless-ws",
      "protocol": "vless",
      "settings": {
        "clients": [
          { "email":"general@vless-ws", //Change to your own email
            "id": "90e4903e-66a4-45f7-abda-fd5d5ed7f797", //Change to your own UUID
            "level": 0

          }
        ],
        "decryption": "none"
      },
      "streamSettings": {
        "network": "ws",
        "security": "none",
        "wsSettings": {
          "acceptProxyProtocol": true,
          "path": "/vlws"
        }
      },
      "sniffing": {
        "enabled": true,
        "destOverride": [
          "http",
          "tls"
        ]
      }
    }

SasukeFreestyle avatar Mar 21 '23 17:03 SasukeFreestyle

i have server installed x-ui, kindly if you able, please message me at telegram we test together: @anonymouse

3245 avatar Mar 21 '23 22:03 3245

See https://github.com/MHSanaei/3x-ui

For Iranian X-UI version

SasukeFreestyle avatar Mar 26 '23 14:03 SasukeFreestyle

I have not been able to get this working... Can you make an easy guide for this? It says my Xray Error in the main info panel

SSLdaemon avatar May 08 '23 12:05 SSLdaemon

Please let us know when you have tested as your setup with a GUI would be perfect.

SSLdaemon avatar May 08 '23 14:05 SSLdaemon