CLOUD-IP // v2026.06
UPDATED 2026-06-14 PROVIDERS 35 LIVE
// HETZNER / APACHE

Hetzner · Apache

Apache httpd Require ip directives for Hetzner. 686 CIDRs, refreshed daily.

// apache_hetzner_allow.conf

DOWNLOAD ↓  · 
# Hetzner IP Ranges
# Updated: 2026-06-14 03:22:28
# 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 Apache,
# add the following line to your .htaccess file or your virtual host configuration file (e.g., /etc/apache2/sites-available/000-default.conf):
# Include /path/to/apache_hetzner_allow.conf

Require ip 5.9.0.0/16
Require ip 5.75.128.0/17
Require ip 5.78.0.0/16
Require ip 5.78.8.0/21
Require ip 5.78.16.0/24
Require ip 5.78.17.0/24
Require ip 5.78.18.0/24
Require ip 5.78.19.0/24
Require ip 5.78.20.0/24
Require ip 5.78.21.0/24
Require ip 5.78.22.0/24
Require ip 5.78.23.0/24
Require ip 5.78.24.0/24
Require ip 5.78.25.0/24
Require ip 5.78.26.0/24
… (671 more lines)

// apache_hetzner_deny.conf

DOWNLOAD ↓  · 
# Hetzner IP Ranges
# Updated: 2026-06-14 03:22:28
# 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 Apache,
# add the following line to your .htaccess file or your virtual host configuration file (e.g., /etc/apache2/sites-available/000-default.conf):
# Include /path/to/apache_hetzner_deny.conf

Deny from 5.9.0.0/16
Deny from 5.75.128.0/17
Deny from 5.78.0.0/16
Deny from 5.78.8.0/21
Deny from 5.78.16.0/24
Deny from 5.78.17.0/24
Deny from 5.78.18.0/24
Deny from 5.78.19.0/24
Deny from 5.78.20.0/24
Deny from 5.78.21.0/24
Deny from 5.78.22.0/24
Deny from 5.78.23.0/24
Deny from 5.78.24.0/24
Deny from 5.78.25.0/24
Deny from 5.78.26.0/24
… (672 more lines)