Public IP Ranges
Infomaniak provides a regularly updated JSON file containing all public IP address ranges (IPv4 and IPv6) used by its infrastructure, including Public Cloud services.
Access the IP Ranges
JSON file: https://prefixes.infomaniak.com/json
This file lists all IP ranges in CIDR notation (e.g., 192.0.2.0/24), which represents a block of consecutive IP addresses.
Use Cases
The IP ranges file is particularly useful for:
- Firewall configuration: Allow or restrict traffic from/to Infomaniak infrastructure
- Security group rules: Configure precise ingress/egress rules
- IP whitelisting: Authorize only Infomaniak Public Cloud IPs
- Network monitoring: Identify traffic sources
- Compliance requirements: Document external IP ranges
JSON File Structure
The JSON file contains entries with the following information:
- IP ranges in CIDR format
- IPv4 and IPv6 addresses
Example: Whitelisting Public Cloud IPs
To allow traffic only from Infomaniak Public Cloud infrastructure:
- Download the JSON file:
curl https://prefixes.infomaniak.com/json - Extract IP ranges in CIDR format
- Create security group rules:
# Example: Allow SSH from Public Cloud IP range
openstack security group rule create \
--ingress \
--protocol tcp \
--dst-port 22 \
--remote-ip 192.0.2.0/24 \
my-security-group
Dynamic IP Ranges
IP ranges may change over time. We recommend checking the JSON file regularly or automating the retrieval process.
More Information
For detailed information about Infomaniak's public IP ranges, see the official FAQ.