请问 vless 协议增加了用户之后,如何在clash的yaml配置文件里写呢?
rockyzhz opened this issue · comments
Rocky Zhang commented
Welcome
- Yes, I'm using the latest major release. Only such installations are supported.
- Yes, I'm using the supported system. Only such systems are supported.
- Yes, I have read all WIKI document,nothing can help me in my problem.
- Yes, I've searched similar issues on GitHub and didn't find any.
- Yes, I've included all information below (version, config, log, etc).
Description of the problem,screencshot would be good
我用的是最新版的openclash,它的配置文件里我现在不知道怎么填,填uuid的话,连不上去。
填email的话,openclash无法启动。
- name: "vless-ws"
type: vless
server: for.example.com
port: 443
uuid: d58624ca-c270-4c8b-b0b4-e0270184ce66
# email: dmgw.love@xray.com
udp: true
tls: true
network: ws
servername: for.example.com # priority over wss host
skip-cert-verify: true
ws-opts:
path: "/youneedguess2"
headers:
Host: for.example.com
Version of x-ui
$ x-ui version
# Paste output here
x-ui log or xray log
# paste log here
Rocky Zhang commented
我另外按照 Wiki 里的节点配置,分别配置了两个类型的节点:
- Vless+tls+xtls-rprx-vison
- Vless+reality+tcp+xtls-rprx-vison
clash的yaml配置写法按照 Clash.Meta 的范例 config.yaml,用下面这段配置:
- name: "vless-vision"
type: vless
server: server
port: 443
uuid: uuid
network: tcp
tls: true
udp: true
flow: xtls-rprx-vision
client-fingerprint: chrome
# fingerprint: xxxx
# skip-cert-verify: true
- name: "vless-reality-vision"
type: vless
server: server
port: 443
uuid: uuid
network: tcp
tls: true
udp: true
flow: xtls-rprx-vision
servername: www.microsoft.com # REALITY servername
reality-opts:
public-key: xxx
short-id: xxx # optional
client-fingerprint: chrome # cannot be empty
始终是无法工作,可以帮忙指正一下吗?
Junlong Zhang commented
Clash.Meta 是支持 VLESS 协议的,但 OpenClash 貌似是不支持的,所以你配置后无法正常运行
Rocky Zhang commented
后来问题解决了,进入面板后,没有把面板xray的版本设置为1.8.0以上的版本。。。
xuexijiaoben commented
兄弟们,谁用过luci-app-openclash呀,就是openwrt里的,我的死活不行
Rocky Zhang commented
兄弟们,谁用过luci-app-openclash呀,就是openwrt里的,我的死活不行
一直在用呀,有什么问题?