Site-to-site VPN
Connect your office or another cloud to your VPC.
At a glance
- Protocols
- IPsec (IKEv2) or WireGuard
- Routing
- Static routes or BGP
- Gateway
- Two machines in two zones, one public IPv4
- Connections
- Up to 32 per gateway
What it does
- Failover built in
- If the active machine fails, the standby takes over the address.
- Configurations for your device
- Download the configuration for UniFi, pfSense, OPNsense, FortiOS, strongSwan, WireGuard, AWS, another Deutsche Cloud VPC, or a generic sheet.
- BGP
- The remote side announces its prefixes, and two tunnels give you redundancy.
- Tunnel metrics
- Tunnel state, throughput and BGP prefixes as metrics, and a log of every tunnel change and failover.
Command line
Create a gateway, connect an office over IPsec, and fetch the router configuration.
$ dcloud vpn gateways create --name office-gw
$ dcloud vpn connections create <gateway> --name office --type ipsec \
--remote-address 203.0.113.10 --static-routes 192.168.1.0/24
$ dcloud vpn connections device-config <connection> --format unifi Price
As of 19 November 2026
A gateway is billed as its two machines. Connections and traffic through them have no separate charge.
| 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 |
Documentation
Related: Client VPN, Compute, Monitoring.