Log in to the CloudStack UI as an administrator or end user.
In the left navigation, click Global Settings.
Set the following global configuration parameters.
remote.access.vpn.client.ip.range – The range of IP addressess to be allocated to remote access VPN clients. The first IP in the range is used by the VPN server.
remote.access.vpn.psk.length – Length of the IPSec key.
remote.access.vpn.user.limit – Maximum number of VPN users per account.
To enable VPN for a particular network:
Log in as a user or administrator to the CloudStack UI.
In the left navigation, click Network.
Click the name of the network you want to work with.