-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsingbox.json
More file actions
105 lines (105 loc) · 2.29 KB
/
singbox.json
File metadata and controls
105 lines (105 loc) · 2.29 KB
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
{
"log": {
"level": "info",
"timestamp": true
},
"dns": {
"servers": [
{
"tag": "dns_remote",
"type": "https",
"server": "9.9.9.9",
"server_port": 443,
"path": "/dns-query",
"detour": "auto"
},
{
"tag": "dns_local",
"type": "https",
"server": "223.5.5.5",
"server_port": 443,
"path": "/dns-query"
},
{
"tag": "dns_fakeip",
"type": "fakeip",
"inet4_range": "198.18.0.0/15",
"inet6_range": "fc00::/18"
}
],
"rules": [
{
"rule_set": ["geosite-cn", "geosite-ir"],
"server": "dns_local"
},
{
"query_type": ["A", "AAAA"],
"server": "dns_fakeip"
}
],
"final": "dns_local"
},
"inbounds": [
],
"outbounds": [
{
"type": "direct",
"tag": "direct"
}
],
"route": {
"rules": [
{
"action": "sniff"
},
{
"protocol": "dns",
"action": "hijack-dns"
},
{
"port": 53,
"action": "hijack-dns"
},
{
"rule_set": ["geosite-cn", "geoip-cn", "geosite-ir", "geoip-ir"],
"outbound": "direct"
},
{
"ip_is_private": true,
"outbound": "direct"
}
],
"rule_set": [
{
"tag": "geosite-cn",
"type": "remote",
"format": "binary",
"url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-cn.srs",
"download_detour": "direct"
},
{
"tag": "geosite-ir",
"type": "remote",
"format": "binary",
"url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-ir.srs",
"download_detour": "direct"
},
{
"tag": "geoip-cn",
"type": "remote",
"format": "binary",
"url": "https://raw.githubusercontent.com/SagerNet/sing-geoip/rule-set/geoip-cn.srs",
"download_detour": "direct"
},
{
"tag": "geoip-ir",
"type": "remote",
"format": "binary",
"url": "https://raw.githubusercontent.com/SagerNet/sing-geoip/rule-set/geoip-ir.srs",
"download_detour": "direct"
}
],
"auto_detect_interface": true,
"final": "auto"
}
}