Closed wulongji2016 closed 6 years ago
Try this:
"inbound": {
"port": 51777,
"listen": "0.0.0.0",
- "udp": true,
"protocol": "socks",
"settings": {
- "auth": "noauth"
+ "auth": "noauth",
+ "udp": true,
+ "ip": "<public IP of the server>"
}
},
十分感谢,按照2楼的参数,该UDP问题已经解决。
1) 你正在使用哪个版本的 V2Ray?(如果服务器和客户端使用了不同版本,请注明) 3.6 客户端 (中转服务器使用) 3.5 服务端 2) 你的使用场景是什么?比如使用 Chrome 通过 Socks/VMess 代理观看 YouTube 视频。 电脑浏览器直接socks连接中转服务器。 手机安装socks代理软件,连接中转服务器。 3) 你看到的不正常的现象是什么?(请描述具体现象,比如访问超时,TLS 证书错误等) 苹果手机通过brook的socks正常连接到V2ray。但是安卓无法连接,提示需要UDP支持,我开通了UDP,可能配置不正确,无法正常使用SOCKS。 4) 你期待看到的正确表现是怎样的? 希望v2ray 开通UDP 。 5) 请附上你的配置(提交 Issue 前请隐藏服务器端IP地址)。
6) 请附上出错时软件输出的错误日志。在 Linux 中,日志通常在
/var/log/v2ray/error.log
文件中。7) 请附上访问日志。在 Linux 中,日志通常在
/var/log/v2ray/access.log
文件中。8) 其它相关的配置文件(如 Nginx)和相关日志。
无
补充: 用docker配置的,服务器端和中转作用的V2ray都是 显示TCP和UDP (在宿主机子上)已经开通端口监听。但是好像v2ray 本身没有开启UDP端口监听。