cloud-ip-ranges

Meta IP ranges

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

categorySaaS & Business APIs
websitehttps://www.meta.com
ranges755 (341 IPv4, 414 IPv6)
last change
downloads1,950
download txt csv json — permalinks, always the latest data
curl -O https://cloud-ip-ranges.com/download/meta.txt

Ranges

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

CIDR Type Tag
31.13.24.0/21 ipv4 AS32934
31.13.64.0/18 ipv4 AS32934
31.13.64.0/24 ipv4 AS32934
31.13.66.0/24 ipv4 AS32934
31.13.69.0/24 ipv4 AS32934
2620:0:1c00::/40 ipv6 AS32934
2a03:2880::/32 ipv6 AS32934
2a03:2880::/36 ipv6 AS32934
2a03:2880:1000::/36 ipv6 AS32934
163.114.128.0/20 ipv4 AS54115
163.114.128.0/24 ipv4 AS54115
163.114.129.0/24 ipv4 AS54115
163.114.130.0/24 ipv4 AS54115
2620:10d:c090::/44 ipv6 AS54115
2620:10d:c090::/48 ipv6 AS54115
2620:10d:c091::/48 ipv6 AS54115
2620:10d:c092::/48 ipv6 AS54115
102.132.112.0/24 ipv4 AS63293
102.132.115.0/24 ipv4 AS63293
102.132.117.0/24 ipv4 AS63293
102.132.119.0/24 ipv4 AS63293
2a03:2887:ff00::/48 ipv6 AS63293
2a03:2887:ff02::/48 ipv6 AS63293
2a03:2887:ff03::/48 ipv6 AS63293
2a03:2887:ff04::/48 ipv6 AS63293

Blocking Meta

iptables

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

ufw

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

fail2ban

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

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

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

pfSense / OPNsense

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

About

These IP ranges are sourced directly from Meta's official feeds and are updated regularly to ensure accuracy. The data includes IPv4 and IPv6 ranges used by Meta'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, Huawei Cloud, IBM Cloud, iCloud Private Relay, Internet Archive, IVPN, Leaseweb, Linode, 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