v2fly内核使用原版hysteria2配置示例
本帖最后由 五岁抬头 于 2024-10-8 08:39 编辑我自己测试是可用的,可以根据参考资料自己改改。
{
"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
}
}
}
},
参考资料:
[*]v2fly v5.18.0添加hy2协议的版本介绍
https://github.com/v2fly/v2ray-core/releases/tag/v5.18.0
[*]v2fly Hysteria2的官方文档
https://www.v2fly.org/config/transport/hy2.html
[*]添加Hysteria2协议的大佬的研究
https://github.com/v2fly/v2ray-core/pull/2721
[*]大佬给出的配置示例
https://github.com/JimmyHuang454/v2ray-core/tree/dev/release/config/hy2
[*]@JimmyHuang454 大佬的github
https://github.com/JimmyHuang454
页:
[1]