Cloudflare
The cipr cloudflare command allows you to retrieve IP ranges for Cloudflare.
Usage
CLI command
cipr cloudflare [flags]
Data Format
You can find data format of the cloudflare command output here: Cloudflare command data format
Flags
| Flag | Description | Required |
|---|---|---|
--ipv4 | Get only IPv4 ranges. | ❌ |
--ipv6 | Get only IPv6 ranges. | ❌ |
When neither --ipv4 nor --ipv6 is set, both are fetched.
Examples
tip
IP ranges in the 'Output' blocks might not be up to date!
Get all Cloudflare IPv4 ranges
CLI command
cipr cloudflare --ipv4
Output
...
188.114.96.0/20
197.234.240.0/22
198.41.128.0/17
...
Get all Cloudflare IPv6 ranges
CLI command
cipr cloudflare --ipv6
Output
...
2803:f800::/32
2405:b500::/32
2405:8100::/32
...