mirror of
https://github.com/runetfreedom/russia-blocked-geoip.git
synced 2026-05-08 14:43:20 +00:00
232 lines
5.1 KiB
JSON
232 lines
5.1 KiB
JSON
{
|
|
"input": [
|
|
{
|
|
"type": "v2rayGeoIPDat",
|
|
"action": "add",
|
|
"args": {
|
|
"uri": "https://github.com/Loyalsoldier/geoip/raw/release/geoip.dat"
|
|
}
|
|
},
|
|
{
|
|
"type": "text",
|
|
"action": "add",
|
|
"args": {
|
|
"name": "ru-blocked",
|
|
"uri": "https://antifilter.download/list/ipresolve.lst"
|
|
}
|
|
},
|
|
{
|
|
"type": "text",
|
|
"action": "add",
|
|
"args": {
|
|
"name": "ru-blocked",
|
|
"uri": "https://antifilter.download/list/subnet.lst"
|
|
}
|
|
},
|
|
{
|
|
"type": "text",
|
|
"action": "add",
|
|
"args": {
|
|
"name": "ru-blocked-community",
|
|
"uri": "https://community.antifilter.download/list/community.lst"
|
|
}
|
|
},
|
|
{
|
|
"type": "text",
|
|
"action": "add",
|
|
"args": {
|
|
"name": "re-filter",
|
|
"uri": "https://raw.githubusercontent.com/1andrevich/Re-filter-lists/refs/heads/main/ipsum.lst"
|
|
}
|
|
},
|
|
{
|
|
"type": "text",
|
|
"action": "add",
|
|
"args": {
|
|
"name": "ru-whitelist",
|
|
"uri": "https://raw.githubusercontent.com/hxehex/russia-mobile-internet-whitelist/refs/heads/main/cidrwhitelist.txt"
|
|
}
|
|
},
|
|
{
|
|
"type": "maxmindGeoLite2ASNCSV",
|
|
"action": "add",
|
|
"args": {
|
|
"ipv4": "https://github.com/Loyalsoldier/geoip/raw/release/GeoLite2-ASN-Blocks-IPv4.csv",
|
|
"ipv6": "https://github.com/Loyalsoldier/geoip/raw/release/GeoLite2-ASN-Blocks-IPv6.csv",
|
|
"wantedList": {
|
|
"ddos-guard": [
|
|
"AS262254",
|
|
"AS57724",
|
|
"AS49612"
|
|
],
|
|
"yandex": [
|
|
"AS44534",
|
|
"AS13238",
|
|
"AS200350",
|
|
"AS208722"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "private",
|
|
"action": "add"
|
|
}
|
|
],
|
|
"output": [
|
|
{
|
|
"type": "v2rayGeoIPDat",
|
|
"action": "output",
|
|
"args": {
|
|
"outputDir": "./output",
|
|
"outputName": "geoip.dat"
|
|
}
|
|
},
|
|
{
|
|
"type": "v2rayGeoIPDat",
|
|
"action": "output",
|
|
"args": {
|
|
"outputDir": "./output",
|
|
"outputName": "geoip-asn.dat",
|
|
"wantedList": [
|
|
"cloudflare",
|
|
"cloudfront",
|
|
"facebook",
|
|
"fastly",
|
|
"google",
|
|
"netflix",
|
|
"telegram",
|
|
"ddos-guard",
|
|
"yandex",
|
|
"twitter"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "v2rayGeoIPDat",
|
|
"action": "output",
|
|
"args": {
|
|
"outputDir": "./output",
|
|
"outputName": "geoip-ru-only.dat",
|
|
"wantedList": ["ru-blocked", "ru-blocked-community", "re-filter", "private", "ru-whitelist"]
|
|
}
|
|
},
|
|
{
|
|
"type": "v2rayGeoIPDat",
|
|
"action": "output",
|
|
"args": {
|
|
"outputDir": "./output",
|
|
"oneFilePerList": true,
|
|
"wantedList": ["ru-blocked", "ru-blocked-community", "re-filter", "private", "ru-whitelist"]
|
|
}
|
|
},
|
|
{
|
|
"type": "v2rayGeoIPDat",
|
|
"action": "output",
|
|
"args": {
|
|
"oneFilePerList": true
|
|
}
|
|
},
|
|
{
|
|
"type": "maxmindMMDB",
|
|
"action": "output",
|
|
"args": {
|
|
"outputDir": "./output",
|
|
"outputName": "Country.mmdb",
|
|
"overwriteList": [
|
|
"ru-blocked",
|
|
"ru-blocked-community",
|
|
"ru-whitelist",
|
|
"private",
|
|
"cloudflare",
|
|
"cloudfront",
|
|
"facebook",
|
|
"fastly",
|
|
"google",
|
|
"netflix",
|
|
"telegram",
|
|
"ddos-guard",
|
|
"yandex",
|
|
"twitter"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "maxmindMMDB",
|
|
"action": "output",
|
|
"args": {
|
|
"outputDir": "./output",
|
|
"outputName": "Country-asn.mmdb",
|
|
"wantedList": [
|
|
"cloudflare",
|
|
"cloudfront",
|
|
"facebook",
|
|
"fastly",
|
|
"google",
|
|
"netflix",
|
|
"telegram",
|
|
"ddos-guard",
|
|
"yandex",
|
|
"twitter"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "maxmindMMDB",
|
|
"action": "output",
|
|
"args": {
|
|
"outputDir": "./output",
|
|
"outputName": "Country-ru-only.mmdb",
|
|
"wantedList": ["ru-blocked", "ru-blocked-community", "re-filter", "private", "ru-whitelist"]
|
|
}
|
|
},
|
|
{
|
|
"type": "singboxSRS",
|
|
"action": "output"
|
|
},
|
|
{
|
|
"type": "mihomoMRS",
|
|
"action": "output"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"action": "output"
|
|
},
|
|
{
|
|
"type": "text",
|
|
"action": "output",
|
|
"args": {
|
|
"outputDir": "./output/nginx/allow",
|
|
"outputExtension": ".conf",
|
|
"addPrefixInLine": "allow ",
|
|
"addSuffixInLine": ";"
|
|
}
|
|
},
|
|
{
|
|
"type": "text",
|
|
"action": "output",
|
|
"args": {
|
|
"outputDir": "./output/nginx/deny",
|
|
"outputExtension": ".conf",
|
|
"addPrefixInLine": "deny ",
|
|
"addSuffixInLine": ";"
|
|
}
|
|
},
|
|
{
|
|
"type": "clashRuleSetClassical",
|
|
"action": "output"
|
|
},
|
|
{
|
|
"type": "clashRuleSet",
|
|
"action": "output"
|
|
},
|
|
{
|
|
"type": "surgeRuleSet",
|
|
"action": "output",
|
|
"args": {
|
|
"addSuffixInLine": ",no-resolve"
|
|
}
|
|
}
|
|
]
|
|
}
|