vrnobody / V2RayGCon

V2Ray的图形配置器。Graphic configer for v2ray-core/xray-core.
https://vrnobody.github.io/V2RayGCon
GNU General Public License v3.0
125 stars 19 forks source link

自动生成了错误的tlsSettings/serverName #25

Closed CodingMoeButa closed 4 months ago

CodingMoeButa commented 5 months ago

通过“查看最终配置(只读)”发现软件在未配置TLS SNI的情况下指定了SNI,还把端口号写了进去,造成错误,无法连接:

{
  "log": {
    "loglevel": "warning"
  },
  "inbounds": [
    {
      "tag": "agentin",
      "protocol": "http",
      "port": 8080,
      "listen": "127.0.0.1",
      "settings": {}
    }
  ],
  "outbounds": [
    {
      "protocol": "trojan",
      "settings": {
        "servers": [
          {
            "address": "example.com",
            "port": 12345,
            "password": "00000000-0000-0000-0000-000000000000",
            "flow": ""
          }
        ]
      },
      "tag": "agentout",
      "streamSettings": {
        "network": "kcp",
        "security": "tls",
        "kcpSettings": {
          "header": {
            "type": "none"
          }
        },
        "tlsSettings": {
          "serverName": "example.com:12345"
        }
      }
    }
  ]
}
vrnobody commented 5 months ago

谢谢反馈。请测试v1.9.5.5VLESS 分享链接标准 要求sni为空时用host填充。v1.9.5.0错加了个port。

github-actions[bot] commented 4 months ago

This issue has been open 30 days with no activity. This will be closed in 7 days.

github-actions[bot] commented 4 months ago

This issue was closed because it has been stalled for 7 days with no activity.