同样的trojan设置,当前版本连不上
gpfnw opened this issue · comments
从v2rayng导出,导入当前版本0.8.1-rc3后,
连接不上。
在v2rayng上可以连接,
然后导入到anxray 0.4.0-rc06 也是可以连接的。
可问题是同样多个trojan,有些是可以连上的,有些又不行。
可能是v2ray core的问题,建议用trojan-go插件,看看问题是否出自v2ray core
可能是v2ray core的问题,建议用trojan-go插件,看看问题是否出自v2ray core
trojan-go插件版本0.10.6也试过了,一样的问题。
无法复现,请贴出出现问题的的配置文件,以及使用的服务器trojan版本(v2ray/trojan-go)以及日志
此外,是否启用了多路复用?mux和smux并不兼容
感觉不仅仅是trojan。我vless也连不上。原来老版本都是可以连的,路由上v2ray用相同的配置也是可以连上的。
v2ray server版本是 V2Ray 5.4.1 (V2Fly, a community-driven edition of V2Ray.)
请提供出现问题的服务器配置文件和客户端配置文件(去除敏感信息),以方便复现
服务器配置如下:
{
"log": {
"access": "/usr/local/vproxy/log/access.log",
"error": "/usr/local/vproxy/log/error.log",
"loglevel": "warning"
},
"api": {
"tag": "api",
"services": ["LoggerService", "StatsService"]
},
"policy": {
"levels": {
"1": {
"handshake": 4,
"connIdle": 300,
"uplinkOnly": 2,
"downlinkOnly": 5,
"statsUserUplink": true,
"statsUserDownlink": true,
"bufferSize": 512
}
},
"system": {
"statsInboundUplink": true,
"statsInboundDownlink": true
}
},
"inbounds": [
{
"port": 8372,
"protocol": "trojan",
"settings": {
"clients": [
账户
],
"fallbacks": [
// dest should support h2c to accept fallback from h2
{
"dest": 8375
} // ,
// {
// "alpn": "h2",
// "dest": 8376
// }
]
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tlsSettings": {
"alpn": ["h2", "http/1.1"],
"allowInsecure": false,
"certificates": [
{
"certificateFile": "fullchain.cer",
"keyFile": "domain.key"
}
]
}
}
},
{
"port": 8373,
"protocol": "vless",
"settings": {
"clients": [
账户
],
"decryption": "none",
"fallbacks": [
// dest should support h2c to accept fallback from h2
{
"dest": 8375
} // ,
// // {
// // "alpn": "h2",
// // "dest": 8376
// // }
]
},
"streamSettings": {
"network": "h2",
"security": "tls",
"tlsSettings": {
"alpn": ["h2", "http/1.1"],
// "alpn": ["h2"],
"allowInsecure": false,
"certificates": [
{
"certificateFile": "fullchain.cer",
"keyFile": "domain.key"
}
]
},
"httpSettings": {
"path": "/redirect",
"host": [
"域名"
],
"headers": {
"Location": ["https://owent.net/"]
}
}
}
}
],
"outbound": {
"protocol": "freedom",
"settings": {}
},
"outboundDetour": [
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}
],
"routing": {
"strategy": "rules",
"settings": {
"rules": [
{
"type": "field",
"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"
],
"outboundTag": "blocked"
}
]
}
},
"dns": {
"hosts": {},
"servers": ["1.1.1.1", "1.0.0.1", "8.8.8.8", "8.8.4.4", "localhost"]
}
}
我把客户端的本地dns设置成 tls://1.1.1.1 似乎好了。但是不知道为何无法访问 ipip.net 和 ipconfig.me