Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
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

ListFolderContents
allall/Every active provider in this repo — CDN, hosting, Discord Voice, Telegram, Meta, and others. Use this if you want the widest possible coverage.
cdn-onlycdn-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

ProviderASIn allIn cdn-only
AkamaiAS20940, AS63949✅✅
AWSip-ranges.json✅✅
BunnyAS200325✅✅
BuyVMAS53667✅✅
CDN77AS60068✅✅
CloudflareAS13335✅✅
CogentAS174✅✅
ConstantAS20473✅✅
ContaboAS51167, AS141995✅✅
DataCampAS212238✅✅
DigitalOceanAS14061✅✅
Discord Voicecrt.sh + DNS resolve✅❌
FastlyAS54113✅✅
GCoreAS199524, AS202422✅✅
GleSYSAS42708✅✅
GTHostAS63023✅✅
HetznerAS24940, AS213230, AS212317, AS215859✅✅
MelBiComAS8849, AS56630✅✅
MetaAS32934✅❌
OracleAS31898, AS6142, AS20054, AS54253✅✅
OVHAS16276✅✅
RailwayAS400940✅✅
RobloxAS22697 (Deprecated)❌❌
ScalewayAS12876, AS29447✅✅
ScalaxyAS58061✅✅
TelegramAS62041, AS62014, AS211157, AS44907, AS59930✅❌
VercelNetworksDB 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.

关于 About

IP address ranges for proxying
clashfreedom-of-informationhostsfileiplistsiprangesproxyvlessvpnxray-core

语言 Languages

Python100.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
761
Total Commits
峰值: 27次/周
Less
More

核心贡献者 Contributors