forked from SagerNet/sing-box
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config-warp.json
110 lines (110 loc) · 2.23 KB
/
config-warp.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"dns": {
"servers": [
{
"tag":"cloudflare",
"address":"https://1.0.0.1/dns-query",
"detour":"wireguard"
},
{
"tag":"local",
"address":"223.5.5.5",
"detour":"direct"
}
],
"rules":[
{
"domain":"g.cn",
"geosite":"cn",
"server":"local"
}
]
},
"route":{
"geoip":{
"download_url":"https://github.com/SagerNet/sing-geoip/releases/latest/download/geoip.db",
"download_detour":"wireguard"
},
"geosite":{
"download_url":"https://github.com/SagerNet/sing-geosite/releases/latest/download/geosite.db",
"download_detour":"wireguard"
},
"rules":[
{
"geosite":[
"netflix",
"openai"
],
"outbound":"warp-IPv6"
},
{
"geosite":"cn",
"geoip":"cn",
"outbound":"direct"
}
]
},
"inbounds":[
{
"type": "mixed",
"listen":"::",
"listen_port":1080
},
{
"type":"vmess",
"listen":"::",
"listen_port":8080,
"users":[
{
"uuid":"11112222-3333-4444-aaaa-bbbbccccdddd"
}
],
"transport":{
"type":"ws",
"path":"/vm",
"early_data_header_name":"Sec-WebSocket-Protocol"
},
"multiplex":{
"enabled":true,
"brutal":{
"enabled":true,
"up_mbps":20,
"down_mbps":20
}
}
}
],
"outbounds":[
{
"type":"wireguard",
"tag":"wireguard",
"server":"162.159.195.10",
"server_port":1701,
"local_address":[
"172.16.0.2/32",
"2606:4700:110:8c59:451d:a7d1:729b:4bef/128"
],
"private_key":"aHxUcMkASqCNiNvT6yvD3Pbc4CTB2whU+18myj3bfUs=",
"peer_public_key":"bmXOC+F1FxEMF9dyiK2H5/1SUtzH0JuVo51h2wPfgyo=",
"reserved":[230,72,211],
"mtu":1280
},
{
"type":"direct",
"tag":"direct",
"domain_strategy":"prefer_ipv4"
},
{
"type":"direct",
"tag":"warp-IPv4",
"detour":"wireguard",
"domain_strategy":"ipv4_only"
},
{
"type":"direct",
"tag":"warp-IPv6",
"detour":"wireguard",
"domain_strategy":"ipv6_only"
}
]
}