IP allowlist rules restrict documentation access to specific IP addresses or ranges. This is useful for limiting access to users within your corporate network.
When IP rules are configured:
When no IP rules are configured:
Allow a specific IP address:
192.168.1.100
Allow a range of IP addresses:
192.168.1.0/24 # Allows 192.168.1.0 - 192.168.1.255
10.0.0.0/8 # Allows 10.0.0.0 - 10.255.255.255
172.16.0.0/12 # Allows 172.16.0.0 - 172.31.255.255
IPv6 addresses are also supported:
2001:db8::1
2001:db8::/32
| CIDR | Range | Addresses |
|---|---|---|
/32 | Single IP | 1 |
/24 | Class C | 256 |
/16 | Class B | 65,536 |
/8 | Class A | 16,777,216 |
Allow access from your office IP:
203.0.113.50
Allow access from your office network:
203.0.113.0/24
Add separate rules for each office:
203.0.113.0/24 # Tokyo office
198.51.100.0/24 # Osaka office
192.0.2.0/24 # New York office
Allow access from VPN users:
10.8.0.0/16
Instead of adding individual IPs, use CIDR notation for network ranges:
# Good
192.168.1.0/24
# Less maintainable
192.168.1.1
192.168.1.2
192.168.1.3
... (256 entries)
Keep track of what each rule represents:
| Rule | Description |
|---|---|
203.0.113.0/24 | Main office |
198.51.100.0/24 | Remote office |
10.8.0.0/16 | VPN users |
Periodically review IP rules to:
You can check your current IP address using:
whatismyip.comcurl ifconfig.me