Client VPN
Give people access to private resources, one target at a time.
At a glance
- Protocol
- WireGuard
- Scope
- Per peer, per target
- Expiry
- 30 days by default
What it does
- Access per target
- Grant a peer a specific database, cache, app or machine. Nothing else in the network is reachable through it.
- Keys stay on the laptop
- The private key is generated on the person’s computer and never sent to us. You register the public key.
- Access that ends
- Peers expire after 30 days unless you choose otherwise, and can be revoked at any time.
- Look into a database with a GUI
- Connect a desktop SQL client to a private database through the tunnel, without making the database public.
Command line
Create a gateway and give a laptop access to one database.
$ dcloud vpn endpoints create --vpc-id <vpc>
$ dcloud vpn endpoints targets <gateway>
$ dcloud vpn peers connect --app <app> --name alice-laptop Price
As of 19 November 2026
A gateway is billed as the machine it runs on.
| Type | vCPU | Memory | Per hour | Month, at most |
|---|---|---|---|---|
standard-2 | 2 | 4 GiB | €0.0096 | €5.99 |
performance-1x1 | 1 | 1 GiB | €0.0104 | €6.49 |
dedicated-2 | 2 | 8 GiB | €0.0697 | €43.49 |
dedicated-4 | 4 | 16 GiB | €0.1386 | €86.49 |