Apache CloudStack v4.6.0 User 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 pubic port is automatically created; if false - firewall rule has to be created explicitely. 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 |
| 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 |