forked from v2fly/geoip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
50 lines (50 loc) · 997 Bytes
/
config.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
{
"input": [
{
"type": "maxmindGeoLite2CountryCSV",
"action": "add",
"args": {
"country": "./geolite2/GeoLite2-Country-Locations-en.csv",
"ipv4": "./geolite2/GeoLite2-Country-Blocks-IPv4.csv",
"ipv6": "./geolite2/GeoLite2-Country-Blocks-IPv6.csv"
}
},
{
"type": "private",
"action": "add"
},
{
"type": "test",
"action": "add"
}
],
"output": [
{
"type": "v2rayGeoIPDat",
"action": "output",
"args": {
"outputName": "geoip.dat"
}
},
{
"type": "v2rayGeoIPDat",
"action": "output",
"args": {
"outputName": "geoip-only-cn-private.dat",
"wantedList": ["cn", "private"]
}
},
{
"type": "v2rayGeoIPDat",
"action": "output",
"args": {
"oneFilePerList": true,
"wantedList": ["cn", "private", "test"]
}
},
{
"type": "text",
"action": "output"
}
]
}