// HUAWEI / NGINX
huawei · Nginx
Nginx allow/deny config for huawei. Drop into your server block or http context. 659 CIDRs, refreshed daily.
// nginx_huawei_allow.conf
# Huawei IP Ranges # Updated: 2026-07-12 03:18:08 # 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_huawei_allow.conf; allow 1.178.32.0/19; allow 14.137.132.0/22; allow 14.137.136.0/21; allow 14.137.152.0/23; allow 14.137.155.0/24; allow 14.137.156.0/23; allow 14.137.161.0/24; allow 14.137.163.0/24; allow 14.137.164.0/24; allow 14.137.169.0/24; allow 14.137.170.0/23; allow 14.137.172.0/22; allow 27.106.0.0/17; allow 27.255.0.0/18; allow 42.201.128.0/17; … (203 more lines)
// nginx_huawei_deny.conf
# Huawei IP Ranges # Updated: 2026-07-12 03:18:08 # 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_huawei_deny.conf; deny 1.178.32.0/19; deny 14.137.132.0/22; deny 14.137.136.0/21; deny 14.137.152.0/23; deny 14.137.155.0/24; deny 14.137.156.0/23; deny 14.137.161.0/24; deny 14.137.163.0/24; deny 14.137.164.0/24; deny 14.137.169.0/24; deny 14.137.170.0/23; deny 14.137.172.0/22; deny 27.106.0.0/17; deny 27.255.0.0/18; deny 42.201.128.0/17; … (203 more lines)