We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我用的是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": { } } ] }
The text was updated successfully, but these errors were encountered:
用nginx监听443 然后stream模块 sni分流www.cloudflare.com域名是成功的,用xray分流失败了
猜想如果再搞个二级域名解析到vps, mtp.domainname.com ,然后通过该域名回落,不知道可不可以。
Sorry, something went wrong.
No branches or pull requests
我用的是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": { }
}
]
}
The text was updated successfully, but these errors were encountered: