howto use antizapret

This commit is contained in:
ElonJunior 2025-01-17 10:26:24 +08:00
parent eaf962f4aa
commit 67274b6f2c
3 changed files with 25 additions and 17 deletions

View File

@ -67,12 +67,12 @@ jobs:
cp -r ../meta-rules-dat/geo ./
bash ../workflow/resouces/merge_geo_ir.sh ./geo ../Iran-sing-box-rules/
- name: RU copy geo rules
env:
NO_SKIP: true
run: |
cd sing-rule || exit 1
curl -o geo/geosite/antizapret.srs -sSL https://github.com/savely-krasovsky/antizapret-sing-box/releases/latest/download/antizapret.srs
# - name: RU copy geo rules
# env:
# NO_SKIP: true
# run: |
# cd sing-rule || exit 1
# curl -o geo/geosite/antizapret@ru.srs -sSL https://github.com/savely-krasovsky/antizapret-sing-box/releases/latest/download/antizapret.srs
- name: maker karing built-in rule-set group
env:

View File

@ -25,12 +25,19 @@
- [Improve domain suffix match behavior](https://github.com/SagerNet/sing/commit/4d96f15eca075f4b5535053304d54812fdfa96e0)
# GeoIP/GeoSite
- The srs files of Russia come from **savely-krasovsky**
```
geosite
antizapret.srs
```
## russia
- howto use `antizapret.srs` in karing
- Add New Diversion Group
- -> fill in srs url
- `https://github.com/savely-krasovsky/antizapret-sing-box/releases/latest/download/antizapret.srs`
- -> save rule-set
- return to Diversion Rules Page, Custom Diversion Group
- -> select the newly created Diversion Group
- -> Action selection is `Current Select`
- **Note** due to the current large size of the SRS file (about 5MB), it should only be used on **Windows**, there is a possibility of exceeding the memory limit on Android and iOS.
## iran
- The source files of Iran come from **Chocolate4U**
```
geoip/
@ -80,6 +87,7 @@
```
## description
- geosite的一些说明:
```
geosite:category-ads 包含了常见的广告域名。

View File

@ -235,12 +235,12 @@ OPT_RULESET_GROUPS['cn'] = {
##end china
##start ru
OPT_RULESET_GROUPS['ru'] = OPT_RULESET_GROUPS['default'].copy()
OPT_RULESET_GROUPS['ru']['𐰁 antizapret'] = {
'default': 'on',
'outbound': 'selector_out',
'rules': ['geosite:antizapret'],
}
# OPT_RULESET_GROUPS['ru'] = OPT_RULESET_GROUPS['default'].copy()
# OPT_RULESET_GROUPS['ru']['𐰁 antizapret'] = {
# 'default': 'on',
# 'outbound': 'selector_out',
# 'rules': ['geosite:antizapret@ru'],
# }
##end ru
##start iran