Skip to content

pius-pp/amazon_ip_ranges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

127 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌐 AWS IP Ranges (Amazon Web Services)

This repository provides regularly updated Amazon Web Services (AWS) IP ranges, sourced directly from the official endpoint: πŸ”— https://ip-ranges.amazonaws.com/ip-ranges.json

πŸ“ Included Files

amazon_ip_ranges.txt

A plain-text list of all current AWS IPv4 and IPv6 address ranges. Each line contains a single CIDR block, making it easy to use in firewalls, network configurations, or IP filtering tools.

amazon_ip_ranges.mrs

A Mihomo Rule Set (MRS) version of the AWS IP ranges. Optimized for use with Clash, Mihomo, and other compatible clients β€” ideal for creating rules that match AWS traffic.

βš™οΈ Source & Update

All data is automatically fetched and parsed from:

https://ip-ranges.amazonaws.com/ip-ranges.json

This ensures you always have the latest and most accurate AWS IP ranges available.

πŸ•› Update Schedule: The repository is automatically updated every day at 00:00 (GMT+3) to keep all data fresh and synchronized with the latest AWS IP announcements.

πŸ’‘ Example Usage

Mihomo / Clash Configuration:

rule-providers:
  aws:
    type: http
    behavior: ipcidr
    path: ./rules/amazon_ip_ranges.mrs
    url: https://github.com/pius-pp/amazon_ip_ranges/raw/refs/heads/main/amazon_ip_ranges.mrs
    interval: 24h

⏰ Generation

The .txt and .mrs files are automatically generated from the JSON source using a custom parser script. They can be scheduled for updates (e.g., via cron) to ensure up-to-date IP coverage at all times.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors