Compare commits
20 Commits
2021072922
...
2024062022
Author | SHA1 | Date | |
---|---|---|---|
0c3c03ea62 | |||
7055f29131 | |||
98fe5fd593 | |||
7a9894fa22 | |||
3b76324b76 | |||
113caa01de | |||
52af20ac3c | |||
9155127ee1 | |||
11ed3bf0c9 | |||
fa12eabc89 | |||
9cf6161dbf | |||
1e6cb3c0e2 | |||
81c1ec313c | |||
e89dd8d764 | |||
6653b1818c | |||
a409fcb644 | |||
b10802d5f3 | |||
c3b9c36c72 | |||
9666b73222 | |||
3231f9422a |
28
.github/workflows/run.yml
vendored
28
.github/workflows/run.yml
vendored
@ -26,12 +26,13 @@ jobs:
|
|||||||
echo "Loyalsoldier_greatfire=https://raw.githubusercontent.com/Loyalsoldier/v2ray-rules-dat/release/greatfire.txt" >> $GITHUB_ENV
|
echo "Loyalsoldier_greatfire=https://raw.githubusercontent.com/Loyalsoldier/v2ray-rules-dat/release/greatfire.txt" >> $GITHUB_ENV
|
||||||
echo "felixonmars_apple=https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/master/apple.china.conf" >> $GITHUB_ENV
|
echo "felixonmars_apple=https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/master/apple.china.conf" >> $GITHUB_ENV
|
||||||
echo "felixonmars_google=https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/master/google.china.conf" >> $GITHUB_ENV
|
echo "felixonmars_google=https://raw.githubusercontent.com/felixonmars/dnsmasq-china-list/master/google.china.conf" >> $GITHUB_ENV
|
||||||
echo "ipipnet_chinaiplist=https://raw.githubusercontent.com/17mon/china_ip_list/master/china_ip_list.txt" >> $GITHUB_ENV
|
echo "cn_cidr=https://raw.githubusercontent.com/Loyalsoldier/geoip/release/text/cn.txt" >> $GITHUB_ENV
|
||||||
echo "telegram_cidr=https://core.telegram.org/resources/cidr.txt" >> $GITHUB_ENV
|
echo "lan_cidr=https://raw.githubusercontent.com/Loyalsoldier/geoip/release/text/private.txt" >> $GITHUB_ENV
|
||||||
|
echo "telegram_cidr=https://raw.githubusercontent.com/Loyalsoldier/geoip/release/text/telegram.txt" >> $GITHUB_ENV
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Checkout the "hidden" branch
|
- name: Checkout the "hidden" branch
|
||||||
uses: actions/checkout@v2.3.4
|
uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
ref: hidden
|
ref: hidden
|
||||||
|
|
||||||
@ -91,19 +92,25 @@ jobs:
|
|||||||
- name: Generate cncidr.txt file
|
- name: Generate cncidr.txt file
|
||||||
run: |
|
run: |
|
||||||
echo "payload:" > cncidr.txt
|
echo "payload:" > cncidr.txt
|
||||||
curl -sSL ${ipipnet_chinaiplist} | perl -ne '/^(\d{1,3}(\.\d{1,3}){3}\/\d{1,2})/ && print " - |$1|\n"' | sed "s/|/'/g" >> cncidr.txt
|
curl -sSL ${cn_cidr} | perl -ne '/(.+\/\d+)/ && print " - |$1|\n"' | sed "s/|/'/g" >> cncidr.txt
|
||||||
|
|
||||||
- name: Generate telegramcidr.txt file
|
- name: Generate telegramcidr.txt file
|
||||||
run: |
|
run: |
|
||||||
|
echo "payload:" > telegramcidr.txt
|
||||||
curl -sSL ${telegram_cidr} | perl -ne '/(.+\/\d+)/ && print " - |$1|\n"' | sed "s/|/'/g" >> telegramcidr.txt
|
curl -sSL ${telegram_cidr} | perl -ne '/(.+\/\d+)/ && print " - |$1|\n"' | sed "s/|/'/g" >> telegramcidr.txt
|
||||||
|
|
||||||
|
- name: Generate lancidr.txt file
|
||||||
|
run: |
|
||||||
|
echo "payload:" > lancidr.txt
|
||||||
|
curl -sSL ${lan_cidr} | perl -ne '/(.+\/\d+)/ && print " - |$1|\n"' | sed "s/|/'/g" >> lancidr.txt
|
||||||
|
|
||||||
- name: Move files to publish directory
|
- name: Move files to publish directory
|
||||||
run: |
|
run: |
|
||||||
mkdir -p publish
|
mkdir -p publish
|
||||||
install -p {apple,icloud,google,proxy,direct,reject,private,gfw,greatfire,tld-not-cn,cncidr,lancidr,telegramcidr}.txt ./publish/
|
cp *.txt ./publish/
|
||||||
|
|
||||||
- name: Release and upload assets
|
- name: Release and upload assets
|
||||||
uses: softprops/action-gh-release@v1
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
name: ${{ env.RELEASE_NAME }}
|
name: ${{ env.RELEASE_NAME }}
|
||||||
tag_name: ${{ env.TAG_NAME }}
|
tag_name: ${{ env.TAG_NAME }}
|
||||||
@ -116,7 +123,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Git push assets to "release" branch
|
- name: Git push assets to "release" branch
|
||||||
run: |
|
run: |
|
||||||
cd publish
|
cd publish || exit 1
|
||||||
git init
|
git init
|
||||||
git config --local user.name "github-actions[bot]"
|
git config --local user.name "github-actions[bot]"
|
||||||
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
@ -125,3 +132,10 @@ jobs:
|
|||||||
git commit -m "${{ env.RELEASE_NAME }}"
|
git commit -m "${{ env.RELEASE_NAME }}"
|
||||||
git remote add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}"
|
git remote add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}"
|
||||||
git push -f origin release
|
git push -f origin release
|
||||||
|
|
||||||
|
- name: Purge jsdelivr CDN
|
||||||
|
run: |
|
||||||
|
cd publish || exit 1
|
||||||
|
for file in $(ls); do
|
||||||
|
curl -i "https://purge.jsdelivr.net/gh/${{ github.repository }}@release/${file}"
|
||||||
|
done
|
||||||
|
143
README.md
143
README.md
@ -6,15 +6,21 @@
|
|||||||
|
|
||||||
本项目规则集(RULE-SET)的数据主要来源于项目 [@Loyalsoldier/v2ray-rules-dat](https://github.com/Loyalsoldier/v2ray-rules-dat) 和 [@v2fly/domain-list-community](https://github.com/v2fly/domain-list-community);[`Apple`](https://github.com/Loyalsoldier/clash-rules/blob/release/apple.txt) 和 [`Google`](https://github.com/Loyalsoldier/clash-rules/blob/release/google.txt) 列表里的域名来源于项目 [@felixonmars/dnsmasq-china-list](https://github.com/felixonmars/dnsmasq-china-list);中国大陆 IPv4 地址数据使用 [@17mon/china_ip_list](https://github.com/17mon/china_ip_list)。
|
本项目规则集(RULE-SET)的数据主要来源于项目 [@Loyalsoldier/v2ray-rules-dat](https://github.com/Loyalsoldier/v2ray-rules-dat) 和 [@v2fly/domain-list-community](https://github.com/v2fly/domain-list-community);[`Apple`](https://github.com/Loyalsoldier/clash-rules/blob/release/apple.txt) 和 [`Google`](https://github.com/Loyalsoldier/clash-rules/blob/release/google.txt) 列表里的域名来源于项目 [@felixonmars/dnsmasq-china-list](https://github.com/felixonmars/dnsmasq-china-list);中国大陆 IPv4 地址数据使用 [@17mon/china_ip_list](https://github.com/17mon/china_ip_list)。
|
||||||
|
|
||||||
本项目的规则集(RULE-SET)只适用于 Clash **Premium** 版本。Clash Premium 相对于普通版,增加了 **TUN 增强模式**,能接管设备所有 TCP 和 UDP 流量,类似 [Surge for Mac](https://nssurge.com) 的增强模式。更多高级特性请看[官方 wiki](https://github.com/Dreamacro/clash/wiki/premium-core-features)。
|
本项目的规则集(RULE-SET)只适用于 Clash **Premium** 版本。Clash Premium 相对于普通版,增加了 **TUN 增强模式**,能接管设备所有 TCP 和 UDP 流量。
|
||||||
|
|
||||||
### Clash Premium 各版本下载地址
|
### Clash Premium 各版本下载地址
|
||||||
|
|
||||||
- Clash Premium **命令行**版(适用于 Windows、macOS、Linux、OpenWRT 等多种平台):[https://github.com/Dreamacro/clash/releases/tag/premium](https://github.com/Dreamacro/clash/releases/tag/premium)
|
> ⚠️ 由于 Clash 及其部分周边生态项目于 2023 年 11 月上旬删库跑路,现提供部分官方原版安装包、可执行文件,详情见 [**hidden**](https://github.com/Loyalsoldier/clash-rules/tree/hidden) 分支。
|
||||||
|
|
||||||
|
- Clash Premium **命令行**版:
|
||||||
|
- [官方版](https://github.com/Loyalsoldier/clash-rules/tree/hidden/software/clash-premium)(适用于 Windows、macOS、Linux、OpenWRT 等多种平台)
|
||||||
|
- [衍生版 Clash.Meta](https://github.com/MetaCubeX/Clash.Meta/releases)(适用于 Windows、macOS、Linux、OpenWRT 等多种平台)
|
||||||
- Clash Premium **图形用户界面**版:
|
- Clash Premium **图形用户界面**版:
|
||||||
- [ClashX Pro](https://install.appcenter.ms/users/clashx/apps/clashx-pro/distribution_groups/public)(适用于 macOS)
|
- [ClashN](https://github.com/2dust/clashN/releases)(适用于 Windows)
|
||||||
- [Clash for Windows](https://github.com/Fndroid/clash_for_windows_pkg/releases)(适用于 Windows、macOS)
|
- [ClashX Pro](https://github.com/Loyalsoldier/clash-rules/tree/hidden/software/clashx-pro)(适用于 macOS)
|
||||||
- [Clash for Android](https://github.com/Kr328/ClashForAndroid/releases)(适用于 Android)
|
- [Clash-verge](https://github.com/zzzgydi/clash-verge/releases)(适用于 Windows、macOS、Linux)
|
||||||
|
- [Clash for Windows](https://github.com/Loyalsoldier/clash-rules/tree/hidden/software/clash-for-windows)(适用于 Windows、macOS、Linux)
|
||||||
|
- [Clash for Android](https://apkpure.com/clash-for-android/com.github.kr328.clash/versions)(适用于 Android)
|
||||||
|
|
||||||
## 规则文件地址及使用方式
|
## 规则文件地址及使用方式
|
||||||
|
|
||||||
@ -34,21 +40,18 @@
|
|||||||
- **私有网络专用域名列表 private.txt**:
|
- **私有网络专用域名列表 private.txt**:
|
||||||
- [https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/private.txt](https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/private.txt)
|
- [https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/private.txt](https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/private.txt)
|
||||||
- [https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/private.txt](https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/private.txt)
|
- [https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/private.txt](https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/private.txt)
|
||||||
- **Apple 域名列表 apple.txt**:
|
- **Apple 在中国大陆可直连的域名列表 apple.txt**:
|
||||||
- [https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/apple.txt](https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/apple.txt)
|
- [https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/apple.txt](https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/apple.txt)
|
||||||
- [https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/apple.txt](https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/apple.txt)
|
- [https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/apple.txt](https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/apple.txt)
|
||||||
- **iCloud 域名列表 icloud.txt**:
|
- **iCloud 域名列表 icloud.txt**:
|
||||||
- [https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/icloud.txt](https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/icloud.txt)
|
- [https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/icloud.txt](https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/icloud.txt)
|
||||||
- [https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/icloud.txt](https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/icloud.txt)
|
- [https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/icloud.txt](https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/icloud.txt)
|
||||||
- **Google 域名列表 google.txt**:
|
- **[慎用]Google 在中国大陆可直连的域名列表 google.txt**:
|
||||||
- [https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/google.txt](https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/google.txt)
|
- [https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/google.txt](https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/google.txt)
|
||||||
- [https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/google.txt](https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/google.txt)
|
- [https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/google.txt](https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/google.txt)
|
||||||
- **GFWList 域名列表 gfw.txt**:
|
- **GFWList 域名列表 gfw.txt**:
|
||||||
- [https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/gfw.txt](https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/gfw.txt)
|
- [https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/gfw.txt](https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/gfw.txt)
|
||||||
- [https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/gfw.txt](https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/gfw.txt)
|
- [https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/gfw.txt](https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/gfw.txt)
|
||||||
- **GreatFire 域名列表 greatfire.txt**:
|
|
||||||
- [https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/greatfire.txt](https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/greatfire.txt)
|
|
||||||
- [https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/greatfire.txt](https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/greatfire.txt)
|
|
||||||
- **非中国大陆使用的顶级域名列表 tld-not-cn.txt**:
|
- **非中国大陆使用的顶级域名列表 tld-not-cn.txt**:
|
||||||
- [https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/tld-not-cn.txt](https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/tld-not-cn.txt)
|
- [https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/tld-not-cn.txt](https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/tld-not-cn.txt)
|
||||||
- [https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/tld-not-cn.txt](https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/tld-not-cn.txt)
|
- [https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/tld-not-cn.txt](https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/tld-not-cn.txt)
|
||||||
@ -58,14 +61,15 @@
|
|||||||
- **局域网 IP 及保留 IP 地址列表 lancidr.txt**:
|
- **局域网 IP 及保留 IP 地址列表 lancidr.txt**:
|
||||||
- [https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/lancidr.txt](https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/lancidr.txt)
|
- [https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/lancidr.txt](https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/lancidr.txt)
|
||||||
- [https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/lancidr.txt](https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/lancidr.txt)
|
- [https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/lancidr.txt](https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/lancidr.txt)
|
||||||
- **中国大陆 IPv4 地址列表 cncidr.txt**:
|
- **中国大陆 IP 地址列表 cncidr.txt**:
|
||||||
- [https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/cncidr.txt](https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/cncidr.txt)
|
- [https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/cncidr.txt](https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/cncidr.txt)
|
||||||
- [https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/cncidr.txt](https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/cncidr.txt)
|
- [https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/cncidr.txt](https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/cncidr.txt)
|
||||||
|
- **需要直连的常见软件列表 applications.txt**:
|
||||||
|
- [https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/applications.txt](https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/applications.txt)
|
||||||
|
- [https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/applications.txt](https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/applications.txt)
|
||||||
|
|
||||||
### 使用方式
|
### 使用方式
|
||||||
|
|
||||||
关于 Clash Premium 使用方式,请查看[官方文档](https://github.com/Dreamacro/clash/wiki/premium-core-features) 或 [Lancellc's GitBook](https://lancellc.gitbook.io/clash/)。
|
|
||||||
|
|
||||||
要想使用本项目的规则集,只需要在 Clash 配置文件中添加如下 `rule-providers` 和 `rules`。
|
要想使用本项目的规则集,只需要在 Clash 配置文件中添加如下 `rule-providers` 和 `rules`。
|
||||||
|
|
||||||
#### Rule Providers 配置方式
|
#### Rule Providers 配置方式
|
||||||
@ -128,13 +132,6 @@ rule-providers:
|
|||||||
path: ./ruleset/gfw.yaml
|
path: ./ruleset/gfw.yaml
|
||||||
interval: 86400
|
interval: 86400
|
||||||
|
|
||||||
greatfire:
|
|
||||||
type: http
|
|
||||||
behavior: domain
|
|
||||||
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/greatfire.txt"
|
|
||||||
path: ./ruleset/greatfire.yaml
|
|
||||||
interval: 86400
|
|
||||||
|
|
||||||
tld-not-cn:
|
tld-not-cn:
|
||||||
type: http
|
type: http
|
||||||
behavior: domain
|
behavior: domain
|
||||||
@ -162,6 +159,13 @@ rule-providers:
|
|||||||
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/lancidr.txt"
|
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/lancidr.txt"
|
||||||
path: ./ruleset/lancidr.yaml
|
path: ./ruleset/lancidr.yaml
|
||||||
interval: 86400
|
interval: 86400
|
||||||
|
|
||||||
|
applications:
|
||||||
|
type: http
|
||||||
|
behavior: classical
|
||||||
|
url: "https://cdn.jsdelivr.net/gh/Loyalsoldier/clash-rules@release/applications.txt"
|
||||||
|
path: ./ruleset/applications.yaml
|
||||||
|
interval: 86400
|
||||||
```
|
```
|
||||||
|
|
||||||
#### 白名单模式 Rules 配置方式(推荐)
|
#### 白名单模式 Rules 配置方式(推荐)
|
||||||
@ -173,61 +177,20 @@ rule-providers:
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
rules:
|
rules:
|
||||||
- PROCESS-NAME,v2ray,DIRECT
|
- RULE-SET,applications,DIRECT
|
||||||
- PROCESS-NAME,xray,DIRECT
|
|
||||||
- PROCESS-NAME,naive,DIRECT
|
|
||||||
- PROCESS-NAME,trojan,DIRECT
|
|
||||||
- PROCESS-NAME,trojan-go,DIRECT
|
|
||||||
- PROCESS-NAME,ss-local,DIRECT
|
|
||||||
- PROCESS-NAME,privoxy,DIRECT
|
|
||||||
- PROCESS-NAME,leaf,DIRECT
|
|
||||||
- PROCESS-NAME,v2ray.exe,DIRECT
|
|
||||||
- PROCESS-NAME,xray.exe,DIRECT
|
|
||||||
- PROCESS-NAME,naive.exe,DIRECT
|
|
||||||
- PROCESS-NAME,trojan.exe,DIRECT
|
|
||||||
- PROCESS-NAME,trojan-go.exe,DIRECT
|
|
||||||
- PROCESS-NAME,ss-local.exe,DIRECT
|
|
||||||
- PROCESS-NAME,privoxy.exe,DIRECT
|
|
||||||
- PROCESS-NAME,leaf.exe,DIRECT
|
|
||||||
- PROCESS-NAME,Surge,DIRECT
|
|
||||||
- PROCESS-NAME,Surge 2,DIRECT
|
|
||||||
- PROCESS-NAME,Surge 3,DIRECT
|
|
||||||
- PROCESS-NAME,Surge 4,DIRECT
|
|
||||||
- PROCESS-NAME,Surge%202,DIRECT
|
|
||||||
- PROCESS-NAME,Surge%203,DIRECT
|
|
||||||
- PROCESS-NAME,Surge%204,DIRECT
|
|
||||||
- PROCESS-NAME,Thunder,DIRECT
|
|
||||||
- PROCESS-NAME,DownloadService,DIRECT
|
|
||||||
- PROCESS-NAME,qBittorrent,DIRECT
|
|
||||||
- PROCESS-NAME,Transmission,DIRECT
|
|
||||||
- PROCESS-NAME,fdm,DIRECT
|
|
||||||
- PROCESS-NAME,aria2c,DIRECT
|
|
||||||
- PROCESS-NAME,Folx,DIRECT
|
|
||||||
- PROCESS-NAME,NetTransport,DIRECT
|
|
||||||
- PROCESS-NAME,uTorrent,DIRECT
|
|
||||||
- PROCESS-NAME,WebTorrent,DIRECT
|
|
||||||
- PROCESS-NAME,aria2c.exe,DIRECT
|
|
||||||
- PROCESS-NAME,BitComet.exe,DIRECT
|
|
||||||
- PROCESS-NAME,fdm.exe,DIRECT
|
|
||||||
- PROCESS-NAME,NetTransport.exe,DIRECT
|
|
||||||
- PROCESS-NAME,qbittorrent.exe,DIRECT
|
|
||||||
- PROCESS-NAME,Thunder.exe,DIRECT
|
|
||||||
- PROCESS-NAME,ThunderVIP.exe,DIRECT
|
|
||||||
- PROCESS-NAME,transmission-daemon.exe,DIRECT
|
|
||||||
- PROCESS-NAME,transmission-qt.exe,DIRECT
|
|
||||||
- PROCESS-NAME,uTorrent.exe,DIRECT
|
|
||||||
- PROCESS-NAME,WebTorrent.exe,DIRECT
|
|
||||||
- DOMAIN,clash.razord.top,DIRECT
|
- DOMAIN,clash.razord.top,DIRECT
|
||||||
- DOMAIN,yacd.haishan.me,DIRECT
|
- DOMAIN,yacd.haishan.me,DIRECT
|
||||||
- RULE-SET,private,DIRECT
|
- RULE-SET,private,DIRECT
|
||||||
- RULE-SET,reject,REJECT
|
- RULE-SET,reject,REJECT
|
||||||
- RULE-SET,icloud,DIRECT
|
- RULE-SET,icloud,DIRECT
|
||||||
- RULE-SET,apple,DIRECT
|
- RULE-SET,apple,DIRECT
|
||||||
- RULE-SET,google,DIRECT
|
- RULE-SET,google,PROXY
|
||||||
- RULE-SET,proxy,PROXY
|
- RULE-SET,proxy,PROXY
|
||||||
- RULE-SET,direct,DIRECT
|
- RULE-SET,direct,DIRECT
|
||||||
|
- RULE-SET,lancidr,DIRECT
|
||||||
|
- RULE-SET,cncidr,DIRECT
|
||||||
- RULE-SET,telegramcidr,PROXY
|
- RULE-SET,telegramcidr,PROXY
|
||||||
- GEOIP,,DIRECT
|
- GEOIP,LAN,DIRECT
|
||||||
- GEOIP,CN,DIRECT
|
- GEOIP,CN,DIRECT
|
||||||
- MATCH,PROXY
|
- MATCH,PROXY
|
||||||
```
|
```
|
||||||
@ -239,65 +202,21 @@ rules:
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
rules:
|
rules:
|
||||||
- PROCESS-NAME,v2ray,DIRECT
|
- RULE-SET,applications,DIRECT
|
||||||
- PROCESS-NAME,xray,DIRECT
|
|
||||||
- PROCESS-NAME,naive,DIRECT
|
|
||||||
- PROCESS-NAME,trojan,DIRECT
|
|
||||||
- PROCESS-NAME,trojan-go,DIRECT
|
|
||||||
- PROCESS-NAME,ss-local,DIRECT
|
|
||||||
- PROCESS-NAME,privoxy,DIRECT
|
|
||||||
- PROCESS-NAME,leaf,DIRECT
|
|
||||||
- PROCESS-NAME,v2ray.exe,DIRECT
|
|
||||||
- PROCESS-NAME,xray.exe,DIRECT
|
|
||||||
- PROCESS-NAME,naive.exe,DIRECT
|
|
||||||
- PROCESS-NAME,trojan.exe,DIRECT
|
|
||||||
- PROCESS-NAME,trojan-go.exe,DIRECT
|
|
||||||
- PROCESS-NAME,ss-local.exe,DIRECT
|
|
||||||
- PROCESS-NAME,privoxy.exe,DIRECT
|
|
||||||
- PROCESS-NAME,leaf.exe,DIRECT
|
|
||||||
- PROCESS-NAME,Surge,DIRECT
|
|
||||||
- PROCESS-NAME,Surge 2,DIRECT
|
|
||||||
- PROCESS-NAME,Surge 3,DIRECT
|
|
||||||
- PROCESS-NAME,Surge 4,DIRECT
|
|
||||||
- PROCESS-NAME,Surge%202,DIRECT
|
|
||||||
- PROCESS-NAME,Surge%203,DIRECT
|
|
||||||
- PROCESS-NAME,Surge%204,DIRECT
|
|
||||||
- PROCESS-NAME,Thunder,DIRECT
|
|
||||||
- PROCESS-NAME,DownloadService,DIRECT
|
|
||||||
- PROCESS-NAME,qBittorrent,DIRECT
|
|
||||||
- PROCESS-NAME,Transmission,DIRECT
|
|
||||||
- PROCESS-NAME,fdm,DIRECT
|
|
||||||
- PROCESS-NAME,aria2c,DIRECT
|
|
||||||
- PROCESS-NAME,Folx,DIRECT
|
|
||||||
- PROCESS-NAME,NetTransport,DIRECT
|
|
||||||
- PROCESS-NAME,uTorrent,DIRECT
|
|
||||||
- PROCESS-NAME,WebTorrent,DIRECT
|
|
||||||
- PROCESS-NAME,aria2c.exe,DIRECT
|
|
||||||
- PROCESS-NAME,BitComet.exe,DIRECT
|
|
||||||
- PROCESS-NAME,fdm.exe,DIRECT
|
|
||||||
- PROCESS-NAME,NetTransport.exe,DIRECT
|
|
||||||
- PROCESS-NAME,qbittorrent.exe,DIRECT
|
|
||||||
- PROCESS-NAME,Thunder.exe,DIRECT
|
|
||||||
- PROCESS-NAME,ThunderVIP.exe,DIRECT
|
|
||||||
- PROCESS-NAME,transmission-daemon.exe,DIRECT
|
|
||||||
- PROCESS-NAME,transmission-qt.exe,DIRECT
|
|
||||||
- PROCESS-NAME,uTorrent.exe,DIRECT
|
|
||||||
- PROCESS-NAME,WebTorrent.exe,DIRECT
|
|
||||||
- DOMAIN,clash.razord.top,DIRECT
|
- DOMAIN,clash.razord.top,DIRECT
|
||||||
- DOMAIN,yacd.haishan.me,DIRECT
|
- DOMAIN,yacd.haishan.me,DIRECT
|
||||||
- RULE-SET,private,DIRECT
|
- RULE-SET,private,DIRECT
|
||||||
- RULE-SET,reject,REJECT
|
- RULE-SET,reject,REJECT
|
||||||
- RULE-SET,tld-not-cn,PROXY
|
- RULE-SET,tld-not-cn,PROXY
|
||||||
- RULE-SET,gfw,PROXY
|
- RULE-SET,gfw,PROXY
|
||||||
- RULE-SET,greatfire,PROXY
|
|
||||||
- RULE-SET,telegramcidr,PROXY
|
- RULE-SET,telegramcidr,PROXY
|
||||||
- MATCH,DIRECT
|
- MATCH,DIRECT
|
||||||
```
|
```
|
||||||
|
|
||||||
## 致谢
|
## 致谢
|
||||||
|
|
||||||
|
- [@Loyalsoldier/geoip](https://github.com/Loyalsoldier/geoip)
|
||||||
- [@Loyalsoldier/v2ray-rules-dat](https://github.com/Loyalsoldier/v2ray-rules-dat)
|
- [@Loyalsoldier/v2ray-rules-dat](https://github.com/Loyalsoldier/v2ray-rules-dat)
|
||||||
- [@Loyalsoldier/cn-blocked-domain](https://github.com/Loyalsoldier/cn-blocked-domain)
|
|
||||||
- [@gfwlist/gfwlist](https://github.com/gfwlist/gfwlist)
|
- [@gfwlist/gfwlist](https://github.com/gfwlist/gfwlist)
|
||||||
- [@v2fly/domain-list-community](https://github.com/v2fly/domain-list-community)
|
- [@v2fly/domain-list-community](https://github.com/v2fly/domain-list-community)
|
||||||
- [@felixonmars/dnsmasq-china-list](https://github.com/felixonmars/dnsmasq-china-list)
|
- [@felixonmars/dnsmasq-china-list](https://github.com/felixonmars/dnsmasq-china-list)
|
||||||
|
Reference in New Issue
Block a user