Git Product home page Git Product logo

asn-china's Introduction

ASN-China

ASN and IP list in China library. UTC 20:00

Features

  • Automatic daily updates
  • Reliable and accurate source

Routeros V7 BGP China_ASN

add script to Routeros

/system script
add name="Update_China_ASN" source={
/log info "Fetching the script from the github."
/tool fetch url="https://raw.githubusercontent.com/jeffok/ASN-China/main/China_ASN.rsc" mode=https dst-path="China_ASN.rsc" check-certificate=yes
:delay 10s;
/log info "Removing existing entries from num-list 'China_ASN'."
/routing filter num-list/remove [find list="China_ASN"]
/log info "Download complete, preparing to import the script."
/import file-name="China_ASN.rsc"
/log info "Script import completed successfully."
}

add scheduler

/system scheduler
add name="daily_update_Chain_ASN" start-time="04:00:00" interval=1d on-event="Update_China_ASN"

Use in proxy app

Surge

[Rule]
# > China ASN List
RULE-SET, https://raw.githubusercontent.com/missuo/ASN-China/main/ASN.China.list, Direct

Quantumult X

[filter_remote]
# China ASN List
https://raw.githubusercontent.com/missuo/ASN-China/main/ASN.China.list, tag=ChinaASN, force-policy=direct, update-interval=86400, opt-parser=true, enabled=true

Data Source

ASN Information

IP Information

Author's ASN

AS206729

The ASN name has been officially changed in the Jan 20, 2022 UTC Commit.

Author

ASN-China © Vincent Young, Released under the MIT License.

asn-china's People

Contributors

missuo avatar jeffok avatar faichou 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.