Get started
IP lists
Each token has an IP list. The service accepts a token only from an address in its list. A person who gets your token cannot use it from a different network.
A request from an address that is not in the list gets 403 ip_not_allowed.
What to send us
Send us the public IP addresses from which your systems call the service.
| Rule | Detail |
|---|---|
| Format | CIDR ranges, for example 203.0.113.0/24. One address is also correct: 203.0.113.7 |
| IPv4 and IPv6 | Both are accepted. Send both if your systems can use both |
| Number of ranges | A maximum of 50 for each token |
| Widest IPv4 range | /16 |
| Widest IPv6 range | /32 |
| Not accepted | 0.0.0.0/0, ::/0 and each other range that is wider than the rules above |
Keep the list as small as possible. A small list protects the token better.
Which address the service sees
The service sees the public address of the connection, as the internet sees it.
| Your setup | Send us |
|---|---|
| Servers with fixed public addresses | These addresses |
| Servers behind a NAT gateway or a firewall | The outbound addresses of the gateway or the firewall |
| A cloud platform with a list of outbound addresses | All addresses of the list |
| An outbound proxy | The public address of the proxy |
The service does not read the headers X-Forwarded-For or Forwarded of your request. You
cannot set the address with a header.
To find the outbound address of a server, ask your network team or your cloud platform. Do not guess: a platform can use more than one address.
How to change an IP list
An IP list belongs to one token, and it does not change. For new addresses you get a new token.
- Send us the new IP ranges.
- We issue a second token with the new list and send it through a one-time link.
- Put the second token in your systems. See Rotation with 2 tokens.
- Tell us. We revoke the first token.
Plan a change of network before it occurs. If your outbound address changes and the list
does not have it, each request gets 403 ip_not_allowed.
Test of your addresses
- Call a route from each system that will use the token. Follow Start.
- An answer that is not
403 ip_not_allowedshows that the address is in the list. - If you get
403 ip_not_allowed, give us the headerX-Request-Idof the response. We find the address that the service saw.