cloud-ip-ranges

Alibaba IP ranges

Current IP ranges (CIDRs) used by the Alibaba cloud infrastructure, updated daily.

categoryDatacenter & Hosting
websitehttps://www.alibabacloud.com
ranges2,341 (2,094 IPv4, 247 IPv6)
last change
downloads40,190
download txt csv json — permalinks, always the latest data
curl -O https://cloud-ip-ranges.com/download/alibaba.txt

Ranges

Sample of 25 of 2,341 ranges. Download the full list above, or check a specific IP.

CIDR Type Tag
8.209.193.0/24 ipv4 AS134963
8.220.171.0/24 ipv4 AS134963
38.47.128.0/24 ipv4 AS134963
38.47.129.0/24 ipv4 AS134963
2401:8680:4101::/48 ipv6 AS134963
240b:4002:1010::/48 ipv6 AS134963
8.128.4.0/22 ipv4 AS37963
8.128.4.0/23 ipv4 AS37963
8.128.6.0/23 ipv4 AS37963
8.134.240.0/21 ipv4 AS37963
2400:b200:9000::/36 ipv6 AS37963
2400:b200:9000::/37 ipv6 AS37963
2400:b200:9800::/37 ipv6 AS37963
8.209.48.0/21 ipv4 AS45102
8.209.56.0/21 ipv4 AS45102
8.212.190.0/24 ipv4 AS45102
2401:8680:4102::/48 ipv6 AS45102
2408:4000:101::/48 ipv6 AS45102
2408:4000:102::/48 ipv6 AS45102
5.181.224.0/23 ipv4
8.128.32.0/19 ipv4
8.128.32.0/20 ipv4
2400:3200::/32 ipv6
2400:3200::/33 ipv6
2400:3200::/48 ipv6

Blocking Alibaba

iptables

curl -sO https://cloud-ip-ranges.com/download/alibaba.txt
while read ip; do
  iptables -A INPUT -s $ip -j DROP
  iptables -A OUTPUT -d $ip -j DROP
done < alibaba.txt

ufw

curl -sO https://cloud-ip-ranges.com/download/alibaba.txt
while read ip; do
  ufw deny from $ip
  ufw deny to $ip
done < alibaba.txt

fail2ban

sudo tee /etc/fail2ban/filter.d/alibaba-block.conf << EOF
[Definition]
failregex = ^.*$
ignoreregex =
EOF

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

curl -so /tmp/alibaba.txt https://cloud-ip-ranges.com/download/alibaba.txt
sudo systemctl restart fail2ban

pfSense / OPNsense

curl -sO https://cloud-ip-ranges.com/download/alibaba.txt
# Firewall > Aliases: new alias ALIBABA_BLOCK, type Network(s), import the file
# Firewall > Rules > WAN: Action=Block, Source=ALIBABA_BLOCK

About

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

Other providers

AirVPN, Akamai, Alpha Strike Labs, Amazonbot, Amzn-SearchBot, Amzn-User, Anthropic, AppleBot, Atlassian, AWS, Azure, Backblaze, Baidu, BinaryEdge, BingBot, Bunny, CacheFly, CCBot, Censys, ChatGPT-User, ClaudeBot, Cloudflare, Datadog, DigitalOcean, DuckDuckBot, Fastly, Gabia, G-Core, GitHub, Googlebot, Google Cloud, Google Public DNS, Google Services, GPTBot, Hetzner, Hostway, Huawei Cloud, IBM Cloud, iCloud Private Relay, Internet Archive, IVPN, Leaseweb, Linode, Meta, Microsoft 365, Mistral, Mullvad, NHN Cloud, NordVPN, OpenAI ChatGPT, OpenAI SearchBot, Oracle Cloud, OVHcloud, OVPN.com, PerplexityBot, Perplexity-User, Pingdom, Private Internet Access, QUIC.cloud, Rackspace, Rapid7 Sonar, Salesforce, Scaleway, Shodan, StatusCake, StormWall, Stretchoid, Sucuri, Telegram, Tencent, TOR, UpCloud, UptimeRobot, Vultr, Wasabi, Windscribe, Yandex, Zoho, Zoom, Zscaler