123jjck/cdn-ip-ranges
About
IP address ranges for proxying
Systems & InfrastructureMeasured 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
Originalcdn_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 withhostname/ipfields).<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.txtcdn-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β¦