Skip to content
项目

关于

IP address ranges for proxying

系统与基础设施

这些数字如何统计

实测星标增长

24小时
0
7天
+1
15天
+3
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

cdn_ip_ranges

🌐 Language / Язык: English | Русский


cdn_ip_ranges collects IPv4/IPv6 subnet lists for popular CDN and hosting providers and stores them inside per-provider folders. Each folder (e.g., aws/, hetzner/) contains:

  • <provider>_plain.txt – one subnet per line (IPv4 + IPv6).
  • <provider>_plain_ipv4.txt – the same, but IPv4-only.
  • <provider>_amnezia_ipv4.json – JSON for Amnezia VPN (IPv4-only, array of objects with hostname/ip fields).
  • <provider>_geoip.dat – binary V2Ray GeoIP format (IPv4 + IPv6).
  • <provider>_geoip_ipv4.dat – the same, but IPv4-only.
  • <provider>_singbox.srs – binary sing-box ruleset format (IPv4 + IPv6).
  • <provider>_singbox_ipv4.srs – the same, but IPv4-only.

Quick start

List Folder Contents
all all/ Every active provider in this repo — CDN, hosting, Discord Voice, Telegram, Meta, and others. Use this if you want the widest possible coverage.
cdn-only cdn-only/ CDN and hosting providers only (excludes Discord Voice, Telegram, Meta, and deprecated providers). Use this if you only need traffic routing for CDN infrastructure.

Most common files (IPv4 plain text):

  • all/all_plain_ipv4.txt
  • cdn-only/cdn-only_plain_ipv4.txt

Providers

Provider AS In all In cdn-only
Akamai AS20940, AS63949 ✅ ✅
AWS ip-ranges.json ✅ ✅
Bunny AS200325 ✅ ✅
BuyVM AS53667 ✅ ✅
CDN77 AS60068 ✅ ✅
Cloudflare AS13335 ✅ ✅
Cogent AS174 ✅ ✅
Constant AS20473 ✅ ✅
Contabo AS51167, AS141995 ✅ ✅
DataCamp AS212238 ✅ ✅
DigitalOcean AS14061 ✅ ✅
Discord Voice crt.sh + DNS resolve ✅ ❌
Fastly AS54113 ✅ ✅
GCore AS199524, AS202422 ✅ ✅
GleSYS AS42708 ✅ ✅
GTHost AS63023 ✅ ✅
Hetzner AS24940, AS213230, AS212317, AS215859 ✅ ✅
MelBiCom AS8849, AS56630 ✅ ✅
Meta AS32934 ✅ ❌
Oracle AS31898, AS6142, AS20054, AS54253 ✅ ✅
OVH AS16276 ✅ ✅
Railway AS400940 ✅ ✅
Roblox AS22697 (Deprecated) ❌ ❌
Scaleway AS12876, AS29447 ✅ ✅
Scalaxy AS58061 ✅ ✅
Telegram AS62041, AS62014, AS211157, AS44907, AS59930 ✅ ❌
Vercel NetworksDB API ✅ ✅

Usage

Guides for different apps are available in the wiki: https://github.com/123jjck/cdn-ip-ranges/wiki/Usage-(EN)

[!NOTE] Also check out mihomo-configurator — a convenient browser tool for easy Mihomo configuration.

Refreshing the data

Run python3 scripts/update_cdn_lists.py locally to pull the latest ranges and rewrite the text files.

Automation

GitHub Actions (.github/workflows/update-cdn-lists.yml) executes the script every 12 hours and commits changes whenever new prefixes appear.

探索相关项目

加载中…