cloud-ip-ranges:~$

Akamai logo Akamai IP Ranges

Download current IP ranges (CIDRs) used by the Akamai cloud infrastructure.

Provider Information

Category
CDN & Edge
Official Website
https://www.akamai.com
Total IP Ranges
10,507
7,580 IPv4 · 2,927 IPv6
Last Updated
Total Downloads
9

Download Options

Choose your preferred format. All downloads are permalinks that always provide the latest data.

IP Ranges

First 25 of 10,507 ranges. Download the full list above, or search for a specific IP.

CIDR Type Tag
2.16.0.0/13 ipv4 AS20940
2.16.0.0/24 ipv4 AS20940
2.16.1.0/24 ipv4 AS20940
2.16.2.0/24 ipv4 AS20940
2.16.3.0/24 ipv4 AS34164
2.16.4.0/23 ipv4 AS20940
2.16.6.0/24 ipv4 AS20940
2.16.7.0/24 ipv4 AS20940
2.16.8.0/24 ipv4 AS20940
2.16.10.0/24 ipv4 AS20940
2.16.11.0/24 ipv4 AS20940
2.16.12.0/23 ipv4 AS16625
2.16.14.0/24 ipv4 AS20940
2.16.15.0/24 ipv4 AS20940
2.16.16.0/24 ipv4 AS20940
2.16.18.0/24 ipv4 AS34164
2.16.22.0/24 ipv4 AS20940
2.16.23.0/24 ipv4 AS20940
2.16.24.0/23 ipv4 AS20940
2.16.26.0/24 ipv4 AS34164
2.16.27.0/24 ipv4 AS20940
2.16.28.0/24 ipv4 AS20940
2.16.29.0/24 ipv4 AS20940
2.16.30.0/23 ipv4 AS16625
2.16.32.0/23 ipv4 AS16625

Usage Examples - Blocking Akamai IPs

Download the IP ranges

# Download with curl
curl -O https://cloud-ip-ranges.com/download/akamai.txt

# Or download with wget
wget https://cloud-ip-ranges.com/download/akamai.txt

Block with iptables (Linux firewall)

# Download and block Akamai IPs with iptables
wget -O akamai_ips.txt https://cloud-ip-ranges.com/download/akamai.txt
while read ip; do
  iptables -A INPUT -s $ip -j DROP
  iptables -A OUTPUT -d $ip -j DROP
done < akamai_ips.txt

Block with UFW (Ubuntu/Debian firewall)

# Download and block Akamai IPs with UFW
wget -O akamai_ips.txt https://cloud-ip-ranges.com/download/akamai.txt
while read ip; do
  ufw deny from $ip
  ufw deny to $ip
done < akamai_ips.txt

Block with fail2ban (intrusion prevention)

# Create fail2ban filter for Akamai
sudo tee /etc/fail2ban/filter.d/akamai-block.conf << EOF
[Definition]
failregex = ^.*$
ignoreregex =
EOF

# Create jail configuration
sudo tee /etc/fail2ban/jail.d/akamai-block.conf << EOF
[akamai-block]
enabled = true
filter = akamai-block
action = iptables-allports[name=akamai]
logpath = /tmp/akamai_ips.txt
findtime = 1
bantime = -1
maxretry = 1
EOF

# Download IP list and restart fail2ban
wget -O /tmp/akamai_ips.txt https://cloud-ip-ranges.com/download/akamai.txt
sudo systemctl restart fail2ban

Block with pfSense/OPNsense (FreeBSD firewall)

# Create alias table for Akamai IPs
# 1. Download the IP list
wget -O akamai_ips.txt https://cloud-ip-ranges.com/download/akamai.txt

# 2. In pfSense/OPNsense web interface:
# - Go to Firewall > Aliases
# - Create new alias named "AKAMAI_BLOCK"
# - Type: Network(s)
# - Import the downloaded file
#
# 3. Create firewall rule:
# - Go to Firewall > Rules > WAN
# - Add rule: Action=Block, Source=AKAMAI_BLOCK

About Akamai IP Ranges

These IP ranges are sourced directly from Akamai's official feeds and are updated regularly to ensure accuracy. The data includes IPv4 and IPv6 ranges used by Akamai's infrastructure worldwide. Last update was about 5 hours ago.