// GITHUB / APACHE
GitHub · Apache
Apache httpd Require ip directives for GitHub. 7,377 CIDRs, refreshed daily.
// apache_github_allow.conf
# Github IP Ranges # Updated: 2026-07-07 03:15:56 # 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_github_allow.conf Require ip 4.148.0.0/14 Require ip 4.152.0.0/14 Require ip 4.156.0.0/15 Require ip 4.172.0.0/14 Require ip 4.180.0.0/16 Require ip 4.204.0.0/14 Require ip 4.208.0.0/15 Require ip 4.210.0.0/16 Require ip 4.225.11.192/32 Require ip 4.225.11.194/32 Require ip 4.225.11.196/32 Require ip 4.225.11.200/31 Require ip 4.227.0.0/16 Require ip 4.228.31.145/32 Require ip 4.228.31.149/32 … (5389 more lines)
// apache_github_deny.conf
# Github IP Ranges # Updated: 2026-07-07 03:15:56 # 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_github_deny.conf Deny from 4.148.0.0/14 Deny from 4.152.0.0/14 Deny from 4.156.0.0/15 Deny from 4.172.0.0/14 Deny from 4.180.0.0/16 Deny from 4.204.0.0/14 Deny from 4.208.0.0/15 Deny from 4.210.0.0/16 Deny from 4.225.11.192/32 Deny from 4.225.11.194/32 Deny from 4.225.11.196/32 Deny from 4.225.11.200/31 Deny from 4.227.0.0/16 Deny from 4.228.31.145/32 Deny from 4.228.31.149/32 … (5390 more lines)