cloud-ip-ranges

Anthropic IP ranges

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

categorySaaS & Business APIs
websitehttps://www.anthropic.com
ranges1 (1 IPv4, 0 IPv6)
last change
downloads30,468
download txt csv json — permalinks, always the latest data
curl -O https://cloud-ip-ranges.com/download/anthropic.txt

Ranges

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

CIDR Type
160.79.104.0/21 ipv4

Blocking Anthropic

iptables

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

ufw

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

fail2ban

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

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

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

pfSense / OPNsense

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

About

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

Other providers

AirVPN, Akamai, Alibaba, Alpha Strike Labs, Amazonbot, Amzn-SearchBot, Amzn-User, 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