|
本帖最后由 五岁抬头 于 2024-10-8 02:05 编辑
我自己测试是可用的,可以根据参考资料自己改改。
[ol]{ "tag": "proxy", "protocol": "hysteria2", "settings": { "servers": [{ "address": "你的IP", "port": 你的端口 }] }, "streamSettings": { "network": "hysteria2", "security": "tls", "tlsSettings": { "serverName": "你的域名", "allowInsecure": true }, "hy2Settings": { "password": "你的密码", "use_udp_extension": true, "congestion": { "type": "brutal", "up_mbps": 100, "down_mbps": 100 } } } },[/ol]复制代码
参考资料:
https://github.com/v2fly/v2ray-core/releases/tag/v5.18.0
v2fly v5.18.0添加hy2协议的版本介绍
https://www.v2fly.org/config/transport/hy2.html
v2fly Hysteria2的官方文档
https://github.com/v2fly/v2ray-core/pull/2721
添加Hysteria2协议的大佬的研究
https://github.com/JimmyHuang454/v2ray-core/tree/dev/release/config/hy2
大佬给出的配置示例
https://github.com/JimmyHuang454
@JimmyHuang454 大佬的github
|
|