Apache CloudStack 4.20.0.0 Root Admin API Reference

createVpnConnection

Create site to site vpn connection

Request parameters

Parameter NameDescriptionRequired
s2scustomergatewayidid of the customer gatewaytrue
s2svpngatewayidid of the vpn gatewaytrue
fordisplayan optional field, whether to the display the vpn to the end user or notfalse
passiveconnection is passive or notfalse

Response Tags

Response NameDescription
idthe connection ID
accountthe owner
cidrlistguest cidr list of the customer gateway. Multiple entries are separated by a single comma character (,).
createdthe date and time the host was created
domainthe domain name of the owner
domainidthe domain id of the owner
domainpaththe domain path of the owner
dpdif DPD is enabled for customer gateway
esplifetimeLifetime of ESP SA of customer gateway
esppolicyESP policy of the customer gateway
forceencapif Force NAT Encapsulation is enabled for customer gateway
fordisplayis connection for display to the regular user
gatewaypublic ip address id of the customer gateway
ikelifetimeLifetime of IKE SA of customer gateway
ikepolicyIKE policy of the customer gateway
ikeversionWhich IKE Version to use, one of ike (autoselect), ikev1, or ikev2. Defaults to ike
ipsecpskIPsec Preshared-Key of the customer gateway
passiveState of vpn connection
projectthe project name
projectidthe project id
publicipthe public IP address
removedthe date and time the host was removed
s2scustomergatewayidthe customer gateway ID
s2svpngatewayidthe vpn gateway ID
splitconnectionsSplit multiple remote networks into multiple phase 2 SAs. Often used with Cisco some products.
stateState of vpn connection