v2ray icon indicating copy to clipboard operation
v2ray copied to clipboard

accepted tcp:iphone-ld.apple.com:443 [direct] 没有报错,但是无法翻墙

Open Mag1cL opened this issue 2 years ago • 3 comments

  1. v2ray安装正常(最新版本)
  2. v2ray启动正常
  3. 服务器端口都通(使用tcp.ping.pe测试)
  4. 客户端服务器时间一致
  5. 协议类型:Trojan-WS-TLS(其他的类型也是一样的问题)
  6. 客户端:iphone + shadowrocket最新版本
  7. 表现:客户端连接后,chrome打开google,服务器日志: accepted tcp:www.google.com:443 [direct] 客户端Chrome连接Google失败,显示ERR_SSL_PORTOCOL_ERROR.

服务器配置: /etc/v2ray/config.json { "log": { "access": "/var/log/v2ray/access.log", "error": "/var/log/v2ray/error.log", "loglevel": "error" }, "api": { "tag": "api", "services": [ "HandlerService", "LoggerService", "StatsService" ] }, "stats": {}, "policy": { "levels": { "0": { "handshake": 4, "connIdle": 386, "uplinkOnly": 7, "downlinkOnly": 8, "statsUserUplink": true, "statsUserDownlink": true } }, "system": { "statsInboundUplink": true, "statsInboundDownlink": true, "statsOutboundUplink": true, "statsOutboundDownlink": true } }, "inbounds": [ { "tag": "api", "port": 38659, "listen": "127.0.0.1", "protocol": "dokodemo-door", "settings": { "address": "127.0.0.1" } } ], "outbounds": [ { "tag": "direct", "protocol": "freedom" }, { "tag": "block", "protocol": "blackhole" } ] }

/etc/v2ray/conf/Trojan-WS-TLS-xxx.xxxx.xxx.json

{
  "inbounds": [
    {
      "tag": "Trojan-WS-TLS-xxx.xxxx.xxx.json",
      "port": 4373,
      "listen": "127.0.0.1",
      "protocol": "trojan",
      "settings": {
        "clients": [
          {
            "password": "xxxxx"
          }
        ]
      },
      "streamSettings": {
        "network": "ws",
        "security": "none",
        "wsSettings": {
          "path": "/xxxxx",
          "headers": {
            "Host": "xxx.xxxx.xxx"
          }
        }
      },
      "sniffing": {
        "enabled": true,
        "destOverride": [
          "http",
          "tls"
        ]
      }
    }
  ]
}

Mag1cL avatar Dec 01 '23 08:12 Mag1cL

@FletcherClinkz

试试看其他协议,或者打开其他网站看看

233boy avatar Dec 01 '23 14:12 233boy

@FletcherClinkz

试试看其他协议,或者打开其他网站看看

其他协议也是同样的问题,其他国内网站可以打开,被墙的打不开。

Mag1cL avatar Dec 05 '23 03:12 Mag1cL

我也是遇到这个问题,最新版本

gWcyWoo avatar Dec 10 '23 12:12 gWcyWoo