Apache CloudStack 4.23.0.0 Root Admin API Reference
createRemoteAccessVpn
Creates a l2tp/ipsec remote access VPN
Request parameters
| Parameter Name | Description | Required |
| publicipid | Public IP address id of the VPN server | true |
| account | An optional Account for the VPN. Must be used with domainId. | false |
| domainid | An optional domainId for the VPN. If the account parameter is used, domainId must also be used. | false |
| fordisplay | An optional field, whether to the display the VPN to the end User or not | false |
| iprange | The range of IP addresses to allocate to VPN clients. The first IP in the range will be taken by the VPN server | false |
| openfirewall | If true, firewall rule for source/end public port is automatically created; if false - firewall rule has to be created explicitly. Has value true by default | false |
Response Tags
| Response Name | Description |
| id | The ID of the remote access VPN |
| account | The Account of the remote access VPN |
| domain | The domain name of the Account of the remote access VPN |
| domainid | The domain ID of the Account of the remote access VPN |
| domainpath | Path of the domain to which the remote access VPN belongs |
| fordisplay | Is VPN for display to the regular user |
| iprange | The range of IPs to allocate to the clients |
| presharedkey | The IPSec preshared key |
| project | The project name of the VPN |
| projectid | The project ID of the VPN |
| publicip | The public IP address of the VPN server |
| publicipid | The public IP address of the VPN server |
| state | The state of the rule |