Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hysteria2 转换clash,导入 openClash 报错 #80

Open
loohalh opened this issue Dec 16, 2024 · 7 comments
Open

Hysteria2 转换clash,导入 openClash 报错 #80

loohalh opened this issue Dec 16, 2024 · 7 comments

Comments

@loohalh
Copy link

loohalh commented Dec 16, 2024

大佬 hysteria2的转换成 clash,导入 openClash(meta) 报错规则错误,有支持openClash 的计划吗?hysteria2上传和下载速率怎么控制,需要加什么字段,谢谢
节点模板如下
hysteria2://12345678@45.45.45.45:443/?insecure=1&sni=www.bing.com#Hysteria2-node ,

@7Sageer
Copy link
Owner

7Sageer commented Dec 16, 2024

可以导入普通的clash客户端吗?

@loohalh
Copy link
Author

loohalh commented Dec 16, 2024

可以导入普通的clash客户端吗?

导入 clash verge 客户端可以,但是clash手机端版本 Stash,也不可以, 机场的 hy2订阅可以正常导入 openclash 和Stash

@loohalh
Copy link
Author

loohalh commented Dec 16, 2024

大佬看下这个, 最终转换成这样的应该能用
proxies:

  • name: HY2
    type: hysteria2
    server: IP地址
    up: 上传带宽 mbps #默认 100
    down: 下载带宽 mbps #默认 100
    port: 端口
    password: 密码
    sni: 想填啥网址都行
    fastOpen: true
    lazy: true
    skip-cert-verify: true

@7Sageer
Copy link
Owner

7Sageer commented Dec 16, 2024

感谢反馈,晚点我看下是什么原因

@loohalh
Copy link
Author

loohalh commented Dec 16, 2024

感谢反馈,晚点我看下是什么原因
感谢大佬,上面有个符号横线被 markdowm 解析错误了,给你截个图

image

@loohalh
Copy link
Author

loohalh commented Dec 16, 2024

感谢反馈,晚点我看下是什么原因
刚测试过了,使用这个模板导入 openClash 是可以正常使用的,虽然规则很少

image

@loohalh
Copy link
Author

loohalh commented Dec 28, 2024

写了一个本地转换脚本:https://github.com/loohalh/Sub-clash.git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants