SasukeFreestyle / XTLS-Iran-TLS

How to make a V2ray (XTLS) Server for bypassing internet censorship in Iran.
GNU Affero General Public License v3.0
74 stars 17 forks source link

use your config with xui #7

Open 3245 opened 1 year ago

3245 commented 1 year ago

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

SasukeFreestyle commented 1 year ago

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"
        ]
      }
    }
3245 commented 1 year ago

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

SasukeFreestyle commented 1 year ago

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

For Iranian X-UI version

SSLdaemon commented 1 year ago

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 commented 1 year ago

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