v2ray / v2ray-core

A platform for building proxies to bypass network restrictions.
https://www.v2ray.com/
MIT License
45.42k stars 8.95k forks source link

Wifi电脑/手机 V2RAY连不上,手机V2RAY只有4G 可以连上.... #646

Closed ERIC027 closed 7 years ago

ERIC027 commented 7 years ago

提交 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.36.2 2) 你的使用场景是什么?比如使用 Chrome 通过 Socks/VMess 代理观看 YouTube 视频。 What's your scenario of using V2Ray? E.g., Watching YouTube videos in Chrome via Socks/VMess proxy. 上GOOGLE,FACEBOOK, 等

3) 你看到的不正常的现象是什么? What did you see?

用V2RAY 这个上网。用了几个月感觉很不错,电脑上外网很稳定( 但上内/外网均需启动V2RAY)。

问题:

  1. 电脑连接(一直用长城宽带)
  1. 手机连接 (手机是华为P9)

4) 你期待看到的正确表现是怎样的? What's your expectation? 能正常访问外网。

5) 请附上你的配置文件(提交 Issue 前请隐藏服务器端IP地址)。 Please attach your configuration file (Mask IP addresses before submit this issue).

{ "log": { "access": "", "error": "", "loglevel": "" }, "inbound": { "port": 1080, "listen": "---------", "protocol": "socks", "settings": { "auth": "noauth", "udp": true, "ip": "----------", "clients": null }, "streamSettings": null }, "outbound": { "tag": "agentout", "protocol": "vmess", "settings": { "vnext": [ { "address": "----------", "port": 3128, "users": [ { "id": "016f8fce-a052-11e7-a133-42010a8c0003", "alterId": 64, "security": "chacha20-poly1305" } ] } ] }, "streamSettings": { "network": "tcp", "security": "", "tcpSettings": { "connectionReuse": true, "header": { "type": "http", "request": { "version": "1.1", "method": "GET", "path": [ "/" ], "headers": { "Host": [ "www.cloudflare.com" ], "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 }, "mux": { "enabled": true } }, "inboundDetour": null, "outboundDetour": [ { "protocol": "freedom", "settings": { "response": null }, "tag": "direct" }, { "protocol": "blackhole", "settings": { "response": { "type": "http" } }, "tag": "blockout" } ], "dns": { "servers": [ "...", "...", "localhost" ] }, "routing": { "strategy": "rules", "settings": { "domainStrategy": "IPIfNonMatch", "rules": [ { "type": "field", "port": null, "outboundTag": "direct", "ip": [ "0.0.0.0/8", "10.0.0.0/8", "100.64.0.0/10", "127.0.0.0/8", "169.254.0.0/16", "172.16.0.0/12", "192.0.0.0/24", "192.0.2.0/24", "192.168.0.0/16", "198.18.0.0/15", "198.51.100.0/24", "203.0.113.0/24", "::1/128", "fc00::/7", "fe80::/10" ], "domain": null }, { "type": "chinasites", "port": null, "outboundTag": "direct", "ip": null, "domain": null }, { "type": "chinaip", "port": null, "outboundTag": "direct", "ip": null, "domain": null } ] } } }

Explorare commented 7 years ago

image 目标是 Vultr LA 机房,目前移动、联通和流畅访问,电信 30% 丢包 BBR 基本废了,建议换个针对高丢包环境的策略。

ERIC027 commented 7 years ago

SSH 及不稳定,时不时被第三方中止。 换成联通或移动会有用吗

Explorare commented 7 years ago

建议你测试一下,如果你是电信宽带,用联通卡走流量试试同一条线路。我这里是电信、联通双线接入的,电信线路基本没法用,联通的没问题。

ERIC027 commented 7 years ago

现在是长城宽带。我发现启动SSH后,连手机的正常WIFI都接不上了。 之前一直用V2RAY 也是长城宽带,用得挺好。 自从3天前启动SSH后,啥都不行了。V2RAY 彻底死了。SSH启动的几秒钟内可连上谷歌等,然后闪退。 运行的黑框框里,有出现 ......... concurrent connections: 39 local error: Error: This socket has been ended by the other party 显然是被盯上了。。。

DarienRaymond commented 7 years ago

看上去像是 ISP 的阻断行为,和 V2Ray 本身无关。可以尝试 TLS + WebSocket 的方式来避开。

vioao commented 2 years ago

请问最后怎么解决的?我用的websocket+tls还是不行。只有移动数据网络可以。长城宽带得WIFI就不行

7kms commented 2 years ago

请问最后怎么解决的?我用的websocket+tls还是不行。只有移动数据网络可以。长城宽带得WIFI就不行

我也不行啊,我是移动宽带wifi就不行,把电脑连到4g手机的wifi热点就可以。

不理解啊,求大神带一下呀

Qking521 commented 2 years ago

我是联通,一模一样的现象。 只有移动网络可以,wifi和电脑端一样连不上。 请问楼主最有有没有解决方案

kenis1108 commented 1 year ago

我是移动网络放手机热点可以,联通宽带不行,咋么办呢