数据来源 APNIC Delegated List,将其转化为 txt 文件以在路由器上使用,并以此制作 Shadowrocket、Quantumult、Kitsunebi、acl、BifrostV、v2rayNG、clash、pac 规则和 v2ray 配置内嵌规则,仅包含 chn-ip 列表及部分谷歌和国内常见广告屏蔽规则。每月更新一次。
chnroute.txt: https://raw.githubusercontent.com/PaPerseller/chn-iplist/master/chnroute.txt
Shadowrocket: https://raw.githubusercontent.com/PaPerseller/chn-iplist/master/Shadowrocket.conf
Quantumult (Filter): https://raw.githubusercontent.com/PaPerseller/chn-iplist/master/Quantumult.conf
Quantumult (no chn-ip) : https://raw.githubusercontent.com/PaPerseller/chn-iplist/master/Quantumult_noIP.conf
Kitsunebi: https://raw.githubusercontent.com/PaPerseller/chn-iplist/master/Kitsunebi.conf
Kitsunebi (ios base64): https://raw.githubusercontent.com/PaPerseller/chn-iplist/master/Kitsunebi-base64.conf
Kitsunebi-android: https://raw.githubusercontent.com/PaPerseller/chn-iplist/master/Kitsunebi-android_test.conf
acl (no ban ads) : https://raw.githubusercontent.com/PaPerseller/chn-iplist/master/chn.acl
acl (ban ads) : https://raw.githubusercontent.com/PaPerseller/chn-iplist/master/chn_banad.acl
pac: https://raw.githubusercontent.com/PaPerseller/chn-iplist/master/chnroute.pac (默认非 chn-ip 网站走 socks5 localhost:1080 代理)
BifrostV:在相关文件夹下按规则类型复制粘贴至应用内。
v2ray 配置内嵌规则,将规则文本加入配置文件 routing 对应区域。域名解析策略自行选择。
v2rayNG :分别将 block、direct、proxy 规则复制粘贴至应用内。应用以此顺序使用规则,故推荐 IPIfNonMatch 策略。
clash:https://github.com/PaPerseller/chn-iplist/blob/master/clash/clash.yml
clash (no chn-ip):https://github.com/PaPerseller/chn-iplist/blob/master/clash/clash_noIP.yml
- Quantumult (no chn-ip) 与 clash (no chn-ip) 均可额外使用 geoip 数据库:GeoLite2,Quantumult (no chn-ip) 还可使用 快捷指令 导入。
- v2rayNG 规则可与 pc 客户端 v2rayN 通用。
- 已加入 ipv6 列表并在测试中的规则:chnroute.txt、chnroute.pac、chn.acl、clash、v2rayNG、Kitsunebi-android(version≥1.6.5)
测试中:
kitsunebi ios base64 编码版
chn-iplist.sh+ipv6 版
pac 规则
ipv6-list
clash 规则
- tg 规则可用性精简
使用 chmod +x /etc/sbin/chn-iplist.sh
赋予其可执行权限。
- CIDR2PAC - A es6 script for coverting CIDRs list to PAC proxy script.