Giter VIP home page Giter VIP logo

chn-iplist's Introduction

chn-iplist

数据来源 APNIC Delegated List,将其转化为 txt 文件以在路由器上使用,并以此制作 Shadowrocket、Quantumult、Kitsunebi、acl、BifrostV、v2rayNG、clash、pac 规则和 v2ray 配置内嵌规则,仅包含 chn-ip 列表及部分谷歌和国内常见广告屏蔽规则。每月更新一次。

Subscribe URL:

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 :分别将 blockdirectproxy 规则复制粘贴至应用内。应用以此顺序使用规则,故推荐 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

PS.

  1. Quantumult (no chn-ip) 与 clash (no chn-ip) 均可额外使用 geoip 数据库:GeoLite2,Quantumult (no chn-ip) 还可使用 快捷指令 导入。
  2. v2rayNG 规则可与 pc 客户端 v2rayN 通用。
  3. 已加入 ipv6 列表的规则:chnroute.txt、chnroute.pac、chn.acl、clash、v2rayNG、Kitsunebi-android(version≥1.6.5)、shadowrocket
  4. Kitsunebi (ios base64) 暂停更新和测试
  5. Kitsunebi android 用户若服务器不支持 ipv6,请于设置中允许地址类型设为 仅IPV4。Shadowrocket (ios) 等有ipv6开关的同理。

Todo & Test:

测试中:

chn-iplist.sh+ipv6 版
clash 规则

路由器本地脚本使用

使用 chmod +x /etc/sbin/chn-iplist.sh 赋予其可执行权限。

致谢

  • CIDR2PAC - A es6 script for coverting CIDRs list to PAC proxy script.

chn-iplist's People

Contributors

paperseller avatar arcbishopw avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.