cloud-ip-ranges

Huawei Cloud IP ranges

Current IP ranges (CIDRs) used by the Huawei Cloud infrastructure, updated daily.

categoryDatacenter & Hosting
websitehttps://www.huaweicloud.com/intl/en-us/
ranges675 (582 IPv4, 93 IPv6)
last change
downloads824
download txt csv json — permalinks, always the latest data
curl -O https://cloud-ip-ranges.com/download/huawei-cloud.txt

Ranges

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

CIDR Type Tag
159.138.223.0/24 ipv4 AS131444
1.178.32.0/20 ipv4 AS136907
1.178.48.0/20 ipv4 AS136907
14.137.132.0/22 ipv4 AS136907
14.137.136.0/22 ipv4 AS136907
14.137.140.0/22 ipv4 AS136907
14.137.152.0/24 ipv4 AS136907
2404:a140:43::/48 ipv6 AS136907
2405:f080::/39 ipv6 AS136907
2405:f080:1::/48 ipv6 AS136907
2405:f080:200::/48 ipv6 AS136907
2405:f080:201::/48 ipv6 AS136907
2405:f080:202::/48 ipv6 AS136907
87.119.3.0/24 ipv4 AS141180
87.119.4.0/24 ipv4 AS141180
87.119.7.0/24 ipv4 AS141180
87.119.8.0/24 ipv4 AS141180
87.119.9.0/24 ipv4 AS141180
87.119.10.0/24 ipv4 AS141180
154.194.39.0/24 ipv4 AS151610
154.194.40.0/24 ipv4 AS151610
45.155.208.0/23 ipv4 AS200756
45.155.211.0/24 ipv4 AS200756
185.176.78.0/23 ipv4 AS206798
185.176.78.0/24 ipv4 AS206798

Blocking Huawei Cloud

iptables

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

ufw

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

fail2ban

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

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

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

pfSense / OPNsense

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

About

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

Other providers

AirVPN, Akamai, Alibaba, 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, 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