Skip to content
Projects

About

IP address ranges for proxying

Systems & Infrastructure

How these counts are measured

Measured star growth

in 24h
0
in 7 days
+1
in 15 days
+3
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

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.

Explore related projects

Loading…