XTLS.github.io icon indicating copy to clipboard operation
XTLS.github.io copied to clipboard

怎么回落到mtprroto?

Open 3131210 opened this issue 4 years ago • 1 comments

我用的是https://github.com/alexbers/mtprotoproxy 配置是 PORT = 13000 USERS = { "tg": "xxxxxx" } MODES = { "classic": False, "secure": False, "tls": True } TLS_DOMAIN = "www.cloudflare.com" PROXY_PROTOCOL = True

xray配置 { "inbounds": [ { "listen": "0.0.0.0", "port": 443, //监听的端口 "protocol": "vless", "settings": { "clients": [ { "id": "5272bc0d-9852-4af7-b2f0-979b1faf2973", //此处为你的UUID "level": 0, "email": "[email protected]", "flow":"xtls-rprx-direct" } ], "decryption": "none", "fallbacks": [ { "dest": 33222 //默认回落端口 nginx端口 }, { "name": "www.cloudflare.com", "dest": 13000, "xver": 1 //0和1都试过,但是都失败了 } ] }, "streamSettings": { "network": "tcp", "security": "xtls", "xtlsSettings": { "serverName": "www.domainname.com", //你的域名 "alpn": [ "h2", "http/1.1" ], "certificates": [ { "certificateFile": "/usr/local/etc/xray/cert/cert.crt", "keyFile": "/usr/local/etc/xray/cert/private.key" } ] } } } ], "outbounds": [ { "protocol": "freedom", "settings": { } } ] }

3131210 avatar Sep 02 '21 16:09 3131210

用nginx监听443 然后stream模块 sni分流www.cloudflare.com域名是成功的,用xray分流失败了

猜想如果再搞个二级域名解析到vps, mtp.domainname.com ,然后通过该域名回落,不知道可不可以。

3131210 avatar Sep 02 '21 16:09 3131210