mirror of
https://github.com/Loyalsoldier/v2ray-rules-dat.git
synced 2024-11-14 03:55:33 +08:00
Add apple-cn & google-cn for custom routing settings
due to accessibility in China mainland and https://github.com/Loyalsoldier/v2ray-rules-dat/issues/29 and https://github.com/Loyalsoldier/v2ray-rules-dat/issues/24 and https://github.com/Loyalsoldier/v2ray-rules-dat/issues/13
This commit is contained in:
parent
aeeeab791b
commit
cef3ba467a
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -133,6 +133,11 @@ jobs:
|
||||
echo "include:direct-list.txt" >> cn
|
||||
echo "include:reject-list.txt" >> category-ads-all
|
||||
|
||||
- name: Add `google-cn` and `apple-cn` sub-lists for custom routing settings for third-party users due to accessibility in China mainland
|
||||
run: |
|
||||
curl -sSL $GOOGLE_DOMAINS_URL | perl -ne '/^server=\/([^\/]+)\// && print "$1\n"' > $GOPATH/src/$GEOSITE_REPO/data/google-cn
|
||||
curl -sSL $APPLE_DOMAINS_URL | perl -ne '/^server=\/([^\/]+)\// && print "$1\n"' > $GOPATH/src/$GEOSITE_REPO/data/apple-cn
|
||||
|
||||
- name: Build geosite.dat file
|
||||
run: |
|
||||
domain-list-community --datapath=${{ env.GOPATH }}/src/${{ env.GEOSITE_REPO }}/data
|
||||
|
13
README.md
13
README.md
@ -75,7 +75,7 @@ scoop install v2ray-rules-dat
|
||||
|
||||
### geosite.dat
|
||||
|
||||
跟 V2Ray 官方 `geosite.dat` 配置方式相同。
|
||||
跟 V2Ray 官方 `geosite.dat` 配置方式相同。`geosite:apple-cn` 和 `geosite:google-cn` 为本项目特有的两个类别,分别包含 [@felixonmars/dnsmasq-china-list/apple.china.conf](https://github.com/felixonmars/dnsmasq-china-list/blob/master/apple.china.conf) 和 [@felixonmars/dnsmasq-china-list/google.china.conf](https://github.com/felixonmars/dnsmasq-china-list/blob/master/google.china.conf) 文件里的域名,供希望 Apple 和 Google 域名直连(不走代理)的用户使用,配置参考下面 👇👇👇
|
||||
|
||||
**Routing 配置方式**:
|
||||
|
||||
@ -89,6 +89,17 @@ scoop install v2ray-rules-dat
|
||||
"geosite:category-ads-all"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"outboundTag": "Direct",
|
||||
"domain": [
|
||||
"geosite:apple-cn",
|
||||
"geosite:google-cn",
|
||||
"geosite:jsdelivr",
|
||||
"domain:icloud.com",
|
||||
"domain:icloud-content.com"
|
||||
]
|
||||
},
|
||||
{
|
||||
"type": "field",
|
||||
"outboundTag": "Proxy",
|
||||
|
Loading…
Reference in New Issue
Block a user