mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-25 10:01:30 +00:00
documentation: Update geosite usage
This commit is contained in:
parent
a8ee41715a
commit
abca2118e7
|
@ -322,17 +322,7 @@ flowchart TB
|
||||||
"server": "google"
|
"server": "google"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "logical",
|
"geosite": "geolocation-cn",
|
||||||
"mode": "and",
|
|
||||||
"rules": [
|
|
||||||
{
|
|
||||||
"geosite": "geolocation-!cn",
|
|
||||||
"invert": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"geosite": "cn",
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"server": "local"
|
"server": "local"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -374,17 +364,7 @@ flowchart TB
|
||||||
"server": "google"
|
"server": "google"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "logical",
|
"rule_set": "geosite-geolocation-cn",
|
||||||
"mode": "and",
|
|
||||||
"rules": [
|
|
||||||
{
|
|
||||||
"rule_set": "geosite-geolocation-!cn",
|
|
||||||
"invert": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rule_set": "geosite-cn",
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"server": "local"
|
"server": "local"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -393,15 +373,9 @@ flowchart TB
|
||||||
"rule_set": [
|
"rule_set": [
|
||||||
{
|
{
|
||||||
"type": "remote",
|
"type": "remote",
|
||||||
"tag": "geosite-cn",
|
"tag": "geosite-geolocation-cn",
|
||||||
"format": "binary",
|
"format": "binary",
|
||||||
"url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-cn.srs"
|
"url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-cn.srs"
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "remote",
|
|
||||||
"tag": "geosite-geolocation-!cn",
|
|
||||||
"format": "binary",
|
|
||||||
"url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-!cn.srs"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -467,18 +441,7 @@ flowchart TB
|
||||||
"outbound": "block"
|
"outbound": "block"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "logical",
|
"geosite": "geolocation-cn",
|
||||||
"mode": "and",
|
|
||||||
"rules": [
|
|
||||||
{
|
|
||||||
"geosite": "geolocation-!cn",
|
|
||||||
"invert": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"geosite": "cn",
|
|
||||||
"geoip": "cn"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"outbound": "direct"
|
"outbound": "direct"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -545,19 +508,9 @@ flowchart TB
|
||||||
"outbound": "block"
|
"outbound": "block"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "logical",
|
"rule_set": [
|
||||||
"mode": "and",
|
"geoip-cn",
|
||||||
"rules": [
|
"geosite-geolocation-cn"
|
||||||
{
|
|
||||||
"rule_set": "geosite-geolocation-!cn",
|
|
||||||
"invert": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"rule_set": [
|
|
||||||
"geoip-cn",
|
|
||||||
"geosite-cn"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
],
|
],
|
||||||
"outbound": "direct"
|
"outbound": "direct"
|
||||||
}
|
}
|
||||||
|
@ -571,15 +524,9 @@ flowchart TB
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "remote",
|
"type": "remote",
|
||||||
"tag": "geosite-cn",
|
"tag": "geosite-geolocation-cn",
|
||||||
"format": "binary",
|
"format": "binary",
|
||||||
"url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-cn.srs"
|
"url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-cn.srs"
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "remote",
|
|
||||||
"tag": "geosite-geolocation-!cn",
|
|
||||||
"format": "binary",
|
|
||||||
"url": "https://raw.githubusercontent.com/SagerNet/sing-geosite/rule-set/geosite-geolocation-!cn.srs"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue