Documentation
PostgreSQL databases

Access Control

Control who can manage and connect to your Sliplane database.

Use an IP allowlist to restrict connections to your database.

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

How It Works

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

If the list is empty, all access is blocked. Add at least one rule to allow connections.

Adding a Rule

  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.

CIDR Notation

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

Managing Rules

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

To allow connections from anywhere, add 0.0.0.0/0 to the list. This permits all IPv4 addresses, so only use it when your database is protected by other means such as strong credentials.

How is this guide?

On this page