# Baidu IP Ranges # Updated: 2026-07-12 03:46:25 # 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_baidu_allow.conf; allow 42.199.240.0/22; allow 45.113.192.0/23; allow 45.113.194.0/24; allow 103.235.44.0/22; allow 104.193.88.0/23; allow 104.193.90.0/24; allow 106.12.0.0/17; allow 106.12.128.0/18; allow 106.12.192.0/19; allow 106.12.224.0/20; allow 106.12.240.0/21; allow 106.13.0.0/17; allow 106.13.128.0/18; allow 106.13.192.0/19; allow 106.13.224.0/20; allow 106.13.240.0/22; allow 119.75.208.0/20; allow 120.48.0.0/16; allow 120.49.0.0/17; allow 120.49.192.0/18; allow 150.242.120.0/22; allow 154.85.32.0/21; allow 154.85.40.0/22; allow 154.85.44.0/23; allow 154.85.48.0/20; allow 156.240.112.0/20; allow 180.76.0.0/17; allow 180.76.128.0/18; allow 180.76.192.0/22; allow 180.76.196.0/23; allow 180.76.200.0/21; allow 180.76.208.0/20; allow 180.76.224.0/19; allow 182.61.0.0/18; allow 182.61.130.0/23; allow 182.61.132.0/22; allow 182.61.136.0/21; allow 182.61.144.0/20; allow 182.61.160.0/19; allow 182.61.200.0/21; allow 182.61.208.0/20; allow 182.61.224.0/19; allow 185.10.104.0/24; allow 202.46.48.0/20; allow 202.181.120.0/21; allow 2400:da00::/32; allow 2402:2b40:7000::/36; allow 2402:2b40:8000::/36; allow 240c:4000::/22; deny all;