Skip to content

Access Control

Access control lets you restrict which IP addresses can connect to your database. Only the IP ranges you add to the allowlist can reach the database, and everything else is blocked.

Open your database in the Sliplane dashboard and go to the Access Control tab to manage the list.

Only the IP ranges listed in the allowlist can connect to your database. Any address that does not match a rule is blocked.

  1. Open your database and go to the Access Control tab
  2. Click Add Rule
  3. Enter an IP address or CIDR range
  4. Optionally add a comment to describe the rule (e.g. “Office VPN” or “CI server”)
  5. Save your changes

Changes take effect shortly after saving.

Rules use CIDR notation to specify IP ranges, for both IPv4 and IPv6:

RuleWhat it matches
203.0.113.10A single IPv4 address
203.0.113.0/24All IPs from 203.0.113.0 to 203.0.113.255 (256 addresses)
0.0.0.0/0All IPv4 addresses
2001:db8::1A single IPv6 address
2001:db8::/48An IPv6 range
::/0All IPv6 addresses

Common IPv4 subnet sizes:

  • /32 - single IP (same as specifying the IP without a prefix)
  • /24 - 256 addresses (e.g. 192.168.1.0/24)
  • /16 - 65,536 addresses (e.g. 172.16.0.0/16)

You can update or delete existing rules at any time. Changes take effect shortly after saving.

Each rule can have an optional comment to help you remember what it is for, which is especially useful when managing multiple rules.