// APPLE PRIVATE RELAY / UFW
Apple Private Relay · UFW
UFW (Uncomplicated Firewall) shell script for Apple Private Relay. 286,912 CIDRs, refreshed daily.
// ufw_apple_private_relay_allow.sh
#!/bin/bash # Apple_private_relay IP Ranges # Updated: 2026-05-25 03:22:12 # 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 00:00 UTC # UFW allow rules for apple_private_relay ufw allow from 172.224.226.0/27 ufw allow from 172.224.226.32/31 ufw allow from 172.224.226.34/31 ufw allow from 172.224.226.36/31 ufw allow from 172.224.226.38/31 ufw allow from 172.224.226.40/31 ufw allow from 172.224.226.42/31 ufw allow from 172.224.226.44/31 ufw allow from 172.224.226.46/31 ufw allow from 172.224.226.48/31 ufw allow from 172.224.226.50/31 ufw allow from 172.224.226.52/31 ufw allow from 172.224.226.54/31 ufw allow from 172.224.226.56/31 ufw allow from 172.224.226.58/31 ufw allow from 172.224.226.60/31 … (286896 more lines)
// ufw_apple_private_relay_deny.sh
#!/bin/bash # Apple_private_relay IP Ranges # Updated: 2026-05-25 03:22:12 # 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 00:00 UTC # UFW deny rules for apple_private_relay ufw deny from 172.224.226.0/27 ufw deny from 172.224.226.32/31 ufw deny from 172.224.226.34/31 ufw deny from 172.224.226.36/31 ufw deny from 172.224.226.38/31 ufw deny from 172.224.226.40/31 ufw deny from 172.224.226.42/31 ufw deny from 172.224.226.44/31 ufw deny from 172.224.226.46/31 ufw deny from 172.224.226.48/31 ufw deny from 172.224.226.50/31 ufw deny from 172.224.226.52/31 ufw deny from 172.224.226.54/31 ufw deny from 172.224.226.56/31 ufw deny from 172.224.226.58/31 ufw deny from 172.224.226.60/31 … (286896 more lines)