Actions20
WireGuard Gateway → Create
AI-generatedSummary
Create a WireGuard VPN Gateway in IONOS Cloud.
Inputs
- name (required) — The human readable name
- gatewayIP (required) — Public IP address to be assigned to the gateway
- privateKey (required) — Private key used for WireGuard Server
- location — The IONOS Cloud location
- description — Human readable description
- interfaceIPv4CIDR — The IPv4 address (with CIDR mask) to be assigned to the WireGuard interface. Either IPv4 or IPv6 is required.
- interfaceIPv6CIDR — The IPv6 address (with CIDR mask) to be assigned to the WireGuard interface. Either IPv4 or IPv6 is required.
- listenPort — Port that WireGuard Server will listen on
- tier — Gateway performance tier
- connections (required) — The network connections for your gateway
Output shape
The created WireGuard gateway resource as returned by the IONOS Cloud API, formatted as n8n execution metadata items.
The API endpoint is POST https://vpn/{location}.ionos.com/wireguardgateways. The request body includes the configured properties. Optional CIDR (IPv4 or IPv6) may be supplied; if both are omitted the API may reject the request. Connections, if provided, link the gateway to specified datacenter LANs via datacenterId and lanId.
Examples
Example 1: Create a basic WireGuard gateway in Frankfurt with a public IP and private key.
location: de-fra; name: my-gateway; gatewayIP: 81.173.1.2; privateKey: [private key]; tier: STANDARD; connections: []