Access Control
Configure access policies for your VPN infrastructure.
Concepts
Networks
CIDR blocks that define routable destinations:
10.0.0.0/8 - Corporate network
192.168.1.0/24 - Production servers
172.16.0.0/16 - Development environment
Access Rules
Specific permissions within networks:
| Type | Example | Description |
|---|---|---|
ip | 192.168.1.100 | Single IP address |
cidr | 10.0.0.0/24 | CIDR range |
hostname | api.internal.com | Exact hostname |
hostname_wildcard | *.internal.com | Wildcard hostname |
Gateways
VPN entry points that users connect to. Users must be assigned to a gateway to generate configs.
Creating Networks
- Navigate to Administration → Networks
- Click Add Network
- Enter:
- Name: "Production"
- CIDR: "192.168.1.0/24"
- Description: "Production server network"
- Click Save
Creating Access Rules
- Navigate to Administration → Access Rules
- Click Add Rule
- Configure:
- Name: "Production Database"
- Type: IP
- Value: "192.168.1.100"
- Port Range: "5432" (optional)
- Protocol: "tcp" (optional)
- Assign to users or groups
- Click Save
Assigning Access
User Assignment
- Go to the access rule
- Click Assign Users
- Select users
- Save
Group Assignment
- Go to the access rule
- Click Assign Groups
- Select groups (synced from IdP)
- Save
Groups are synced from your identity provider. Users in those groups automatically get the access rules.
Gateway Access
Users must be assigned to gateways:
- Navigate to Administration → Gateways
- Select a gateway
- Click Manage Access
- Add users or groups
- Save
Effective Permissions
A user's effective access is:
- Union of directly assigned rules
- Plus rules assigned to their groups
- Filtered to gateways they have access to
Example Setup
Engineering Team
- Create network "Engineering" (10.0.0.0/8)
- Create access rules for services they need
- Assign rules to "engineering" group
- Assign "engineering" group to appropriate gateways
Contractors
- Create specific access rules (limited scope)
- Assign to individual contractor users
- Assign users to gateway with limited networks