Closed cuiwolf closed 7 years ago
测试出来了必须要把tcp或者kcp的设置写在每一个inbound里才行,像这样: "inbound": { "port": 26000, "listen": null, "protocol": "vmess", "settings": { "auth": null, "udp": false, "ip": null, "clients": [ { "id": "326536c4-1d51-90d3-e8b0-702fe4de5e72", "alterId": 100, "security": null } ] }, "streamSettings": { "network": "tcp", "security": "", "tcpSettings": { "connectionReuse": true, "header": { "type": "http", "request": { "version": "1.1", "method": "GET", "path": [ "/" ], "headers": { "Host": [ "" ], "User-Agent": [ "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36", "Mozilla/5.0 (iPhone; CPU iPhone OS 10_0_2 like Mac OS X) AppleWebKit/601.1 (KHTML, like Gecko) CriOS/53.0.2785.109 Mobile/14A456 Safari/601.1.46" ], "Accept-Encoding": [ "gzip, deflate" ], "Connection": [ "keep-alive" ], "Pragma": "no-cache" } }, "response": { "version": "1.1", "status": "200", "reason": "OK", "headers": { "Content-Type": [ "application/octet-stream", "application/x-msdownload", "text/html", "application/x-shockwave-flash" ], "Transfer-Encoding": [ "chunked" ], "Connection": [ "keep-alive" ], "Pragma": "no-cache" } } } }, "kcpSettings": null, "wsSettings": null } }, "outbound": { "tag": null, "protocol": "freedom", "settings": null, "streamSettings": null, "mux": null },
"inboundDetour": [
{
"port": 25000,
"listen": null,
"protocol": "vmess",
"settings": {
"auth": null,
"udp": false,
"ip": null,
"clients": [
{
"id": "326536c4-1d51-90d3-e8b0-702fe4de5e72",
"alterId": 100,
"security": null
}
]
},
"streamSettings": {
"network": "kcp",
"security": "",
"tcpSettings": null,
"kcpSettings": {
"mtu": 1350,
"tti": 50,
"uplinkCapacity": 100,
"downlinkCapacity": 100,
"congestion": false,
"readBufferSize": 2,
"writeBufferSize": 2,
"header": {
"type": "wechat-video",
"request": null,
"response": null
}
},
"wsSettings": null
}
}
提交 Issue 之前请先阅读 Issue 指引,然后回答下面的问题,谢谢。 Please read the instruction and answer the following questions before submitting your issue. Thank you.
1) 你正在使用哪个版本的 V2Ray?(如果服务器和客户端使用了不同版本,请注明) What version of V2Ray are you using (If you deploy different version on server and client, please explicitly point out)? 服务器使用2.33版本,客户端使用2.33版本和1.11版的V2rayN
2) 你的使用场景是什么?比如使用 Chrome 通过 Socks/VMess 代理观看 YouTube 视频。 What's your scenario of using V2Ray? E.g., Watching YouTube videos in Chrome via Socks/VMess proxy. 使用Firefox通过Socks/VMess 代理连接网络
3) 你看到的不正常的现象是什么? What did you see? 网页总是处于正在进行TLS握手状态
4) 你期待看到的正确表现是怎样的? What's your expectation? 能够正常连接网络
5) 请附上你的配置文件(提交 Issue 前请隐藏服务器端IP地址)。 Please attach your configuration file (Mask IP addresses before submit this issue).
使用的是来自https://www.v2ray.com/chapter_05/00_config/10_multi_mode.html的提供的模板。
6) 请附上出错时软件输出的日志。在 Linux 中,日志通常在
/var/log/v2ray/error.log
文件中。 Please attach the log file, especially the bottom lines if the file is large. Log file is usually/var/log/v2ray/error.log
on Linux.