Skip to content

Commit 55a45d6

Browse files
Create Hysteria2-obfs.json
1 parent 71cca73 commit 55a45d6

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"inbounds": [
3+
{
4+
"type": "hysteria2",
5+
"tag": "hy2-in",
6+
"listen": "::",
7+
"listen_port": PORT,
8+
"ignore_client_bandwidth": true,
9+
"masquerade": "https://www.google.com",
10+
"obfs": {
11+
"type": "salamander",
12+
"password": "OBFS"
13+
},
14+
"users": [
15+
{
16+
"name": "NAME",
17+
"password": "PASSWORD"
18+
}
19+
],
20+
"tls": {
21+
"alpn": [
22+
"h3"
23+
],
24+
"enabled": true,
25+
"server_name": "www.google.com",
26+
"certificate_path": "/etc/hysteria2/server.crt",
27+
"key_path": "/etc/hysteria2/server.key"
28+
}
29+
}
30+
],
31+
"log": {
32+
"level": "warn",
33+
"timestamp": true
34+
},
35+
"outbounds": [
36+
{
37+
"tag": "direct",
38+
"type": "direct"
39+
}
40+
]
41+
}

0 commit comments

Comments
 (0)