Skip to content

Commit c893481

Browse files
authored
Add files via upload
1 parent 09682ac commit c893481

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Client Configuration/hysteria_config.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
//Hysteria 的 v1 版配置示例
12
{
23
"server": "xx.yy:2083", //修改为服务端分配的域名及端口
34
"protocol": "udp", //修改为服务端配置的传输协议
@@ -15,3 +16,24 @@
1516
"listen": "127.0.0.1:8080"
1617
}
1718
}
19+
//备注:
20+
//1、此配置仅支持接入服务端的 v1 版。
21+
22+
23+
//Hysteria 的 v2 版配置示例
24+
{
25+
"server": "xx.yy:443", //修改为服务端分配的域名及端口
26+
"auth": "diy443", //修改为服务端配置的密码
27+
"bandwidth": {
28+
"up": "20 mbps",
29+
"down": "100 mbps"
30+
},
31+
"socks5": {
32+
"listen": "127.0.0.1:1080"
33+
},
34+
"http": {
35+
"listen": "127.0.0.1:8080"
36+
}
37+
}
38+
//备注:
39+
//1、此配置仅支持接入服务端的 v2 版。

0 commit comments

Comments
 (0)