我的v2ray服务器上配置了入口:
"inbounds":
{
"tag": "in443",
"port": 443,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "uuid",
"security": "auto",
"alterId": 18
}
]
},
"streamSettings": {
"network": "tcp",
"security": "tls",
"tcpSettings": {},
"tlsSettings": {
"certificates": [
{
"certificateFile": "/etc/v2ray/tls.crt",
"keyFile": "/etc/v2ray/tls.key"
}
]
}
}
},
使用v2ray的core可以连接
clash的vmess接口、无论如何配置都没有一次能连通。我现在在v2ray前面加了个nginx的代理后,clash
做客户端才是ok的了。所以我敢说clash真的不支持v2ray的vmess+tcp+TLS的连接类型。
支持啊我用的好好的,你自己检查一下配置吧
你在 clash 问问题却不附上 clash 的配置?
@matreex what if skip-cert-verify is true?
@Dreamacro skip-cert-verify is true, the config.yaml is not working in clash. I don't know why.
@matreex What is the version of clash? What does the log look like
@Dreamacro
clash -v
Clash v1.0.0 linux amd64 Sat Jun 27 13:04:47 UTC 2020
@Dreamacro Boom! I see. Thank u so much, ss is working in clash when had changed Proxy, Proxy Group and Rule to proxies, proxy-groups and rules. But vmess is not still woking. Can you help to me, again?
So... what's the tls-hostname, is it validity on clash v1.0.0?
@matreex rules instead of Rules, and plz don't put your proxy to public. In vmess ws mode, set Host in ws-headers also set tls-hostname

About config, we are supposing to work on v2ray-core for linux, but not work clash for linux. (clash v1.0.0)
I want to ask: "
how to close the mux for clash? mux: false or mux: -1.
"network", "security", "ws", "tls" and "allowInsecure" is true on v2ray-core, so... in clash, skip-cert-verify is only true, that's it?
how to be enable about "connectionReuse" in "wssettings" for clash?
"serverName" and "tlssettings" with vmess, if it converted to config of clash, host: www.328du82i.xyz or sni: www.328du82i.xyz."
If the config.yaml were wrong, tell to me, please.
Thank a lot for you. :P
P.S. The code had been edited, it's fake.
clash not implemented mux and connectionReuse on vmess, skip-cert-verify equal allowInsecure. servername and Host in ws-headers equal serverName

@Dreamacro is it right? it had been not working on clash but been working v2ray-core. very sad only.
支持啊我用的好好的,你自己检查一下配置吧
可以发一下配置吗?我按照下面配置的服务,https://guide.v2fly.org/advanced/tls.html#%E5%AE%A2%E6%88%B7%E7%AB%AF
下面是我在clash的配置,但就是连不上。
proxies:
- name: "xyz"
type: vmess
server: abc.com
servername: abc.com
port: 443
uuid: uuid
alterId: 8
cipher: auto
udp: true
network: tcp
tls: true
用下面的配置可以了,就是速度不太好。最后还是回到ws+tls的方案
我用 { name: "v2ray", type: vmess, server: example.com, port: 443, uuid: UUID, alterId: 0, cipher: none, skip-cert-verify: true, tls: true }
是可以正常用tcp+tls的
_Originally posted by @lifansama in https://github.com/vernesong/OpenClash/issues/155#issuecomment-588614277_
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days
Most helpful comment
@matreex 看 https://github.com/Dreamacro/clash/wiki/Breaking-Changes-in-1.0.0