Skip to content

Latest commit

 

History

History
101 lines (81 loc) · 4.24 KB

README.md

File metadata and controls

101 lines (81 loc) · 4.24 KB

autorosvpn

Route address list for RouterOS, include:

  • chnroutes
  • Well-known Cloud Providers
  • Well-known Sites or App/Company
  • China ISP Maintanced routes

Usage

example import script

Router OS only import script:

:log info "start download address-list.rsc ..."
/tool fetch http-method=get url=https://raw.githubusercontent.com/zealic/autorosvpn/master/address-list.rsc
:log info "address-list.rsc downloaded."
/file {
  :local addrFile
  :local fileSize
  :set addrFile [find where name="address-list.rsc"]
  :set fileSize [get $addrFile size]
  :if ($fileSize > 300000) do={
    /import file=address-list.rsc
    :log info "NoVPN address list updated!"
  }
}

Route - Cloud Service Providers

Route - Sites

Route - chnroutes

中国路由表

  • chnroutes chnroutes.ipv6
    中国路由表,包括所有中国的 IP 段,相较下面的 ISP 路由,其更新速度和时效性不如下方的 ISP 路由,所以偶尔会有些许疏漏。
  • address-list (novpn)
    中国路由表,同时包含局域网地址,方便统一做路由策略规则。

Route - Maintance by ISP

Automatic update schedule

You can RouterOS schedule to auto update address list.

Use the Terraform RouterOS orchestration I have already written schedules.tf to import the scheduled tasks.

TODO

Parse routes from:

Donate

Bitcoin: 18mXNJyHdUSKfvQSrXCdQsuStp6eWFUVnh

Donate Bitcoin

License

MIT

References