CLOUD-IP // v2026.07
UPDATED 2026-07-28 PROVIDERS 62 LIVE
// META (FACEBOOK) / NGINX

Meta (Facebook) · Nginx

Nginx allow/deny config for Meta (Facebook). Drop into your server block or http context. 759 CIDRs, refreshed daily.

// nginx_meta_allow.conf

DOWNLOAD ↓  · 
# Meta IP Ranges
# Updated: 2026-07-15 03:15:48
# Source: https://github.com/rezmoss/cloud-provider-ip-addresses
# License: https://github.com/rezmoss/cloud-provider-ip-addresses/LICENSE
# This file is generated automatically. Do not edit it directly.
# Updates daily at 02:00 UTC
# To restrict access to only these IPs in nginx,
# add the following line to your server block in your nginx configuration file (e.g., /etc/nginx/nginx.conf or /etc/nginx/sites-available/default):
# include /path/to/nginx_meta_allow.conf;

allow 31.13.24.0/21;
allow 31.13.64.0/18;
allow 45.64.40.0/22;
allow 57.141.0.0/24;
allow 57.141.2.0/23;
allow 57.141.4.0/23;
allow 57.141.6.0/24;
allow 57.141.8.0/24;
allow 57.141.10.0/24;
allow 57.141.12.0/23;
allow 57.141.14.0/24;
allow 57.141.16.0/22;
allow 57.141.20.0/24;
allow 57.141.22.0/24;
allow 57.141.24.0/24;
… (104 more lines)

// nginx_meta_deny.conf

DOWNLOAD ↓  · 
# Meta IP Ranges
# Updated: 2026-07-15 03:15:48
# Source: https://github.com/rezmoss/cloud-provider-ip-addresses
# License: https://github.com/rezmoss/cloud-provider-ip-addresses/LICENSE
# This file is generated automatically. Do not edit it directly.
# Updates daily at 02:00 UTC
# To deny access from these IPs in nginx,
# add the following line to your server block in your nginx configuration file (e.g., /etc/nginx/nginx.conf or /etc/nginx/sites-available/default):
# include /path/to/nginx_meta_deny.conf;

deny 31.13.24.0/21;
deny 31.13.64.0/18;
deny 45.64.40.0/22;
deny 57.141.0.0/24;
deny 57.141.2.0/23;
deny 57.141.4.0/23;
deny 57.141.6.0/24;
deny 57.141.8.0/24;
deny 57.141.10.0/24;
deny 57.141.12.0/23;
deny 57.141.14.0/24;
deny 57.141.16.0/22;
deny 57.141.20.0/24;
deny 57.141.22.0/24;
deny 57.141.24.0/24;
… (104 more lines)