v2fly / discussion

5 stars 0 forks source link

V2ray不支持通过服务器中转后的trojan协议 #73

Closed Gonw closed 3 years ago

Gonw commented 3 years ago

昨天在v2core里面提了 385 被秒关,不知道是不是应该发这里

请问该功能是已经实现了吗,还是确定不支持,我用v2ray(windows),v2rayn,v2rayng都无法连接经过中间服务器中转的trojan服务, 但是qv2ray和igniter是可以连接的。 https://www.v2fly.org/config/protocols/trojan.html 页面也没有相关的配置说明 如果已经实现,请告知如何配置。

RPRX commented 3 years ago

配置 TLS,而不是 Trojan

RPRX commented 3 years ago

另外最新版 v2rayN&G Trojan 支持图形化配置 SNI

Gonw commented 3 years ago

刚刚在v2ray-core,v2rayN,v2rayNG上测试可以了 v2ray-core配置如下

{
    "protocol": "trojan",
    "settings": {
        "servers": [
            {
                "address": "your_server_address",
                "port": 123,
                "password": "password",
                "level": 0
            }
        ]
    },
    "streamSettings": {
        "network": "tcp",
        "security": "tls",
        "tlsSettings": {
            "serverName": "your_server_domain",
            "allowInsecureCiphers": false,
            "allowInsecure": false
        }
    }
}