Skip to main content

Remote Access VPN — Limitations and Prerequisites

This page separates what CMP admins configure in CMP from behaviour and limits defined by Apache CloudStack on the virtual router. Customers enable Remote Access VPN in CMP; underlying VPN service, global tuning, and documented limits come from CloudStack.

Overview: Remote Access VPN.

Source of truth
TopicWhere it applies
CMP prerequisites (provider setup, packages)Configured in CMP
Global settings (remote.access.vpn.*)CloudStack UI / API onlynot exposed in CMP
Limitations belowCloudStack Remote Access VPN (StrongSwan on virtual router) — see CloudStack — Limitations of Remote Access VPN

CMP admin prerequisites

Complete these in CMP before customers can use Remote Access VPN:

StepWhereDetail
Provider SetupCMP — Settings → Orchestrator → Provider SetupCloudStack connected — Connecting CMP to CloudStack
Network / VPC packagesCMP — packages & offeringsOffering must include Remote Access VPN / VPNNetwork packages (Isolated), Virtual Router/VPC packages (VPC)

Screenshot: CMP — Provider Setup configuration complete

CMP does not provide screens for CloudStack VPN global settings — those are operator tasks on the CloudStack management server (next section).


CloudStack prerequisites (not in CMP)

These requirements come from CloudStack guest networking. CMP relies on synced offerings and CloudStack behaviour; they are not separate toggles in CMP.

RequirementDetail
Network offeringRemote Access VPN service enabled on the Isolated or VPC offering
Network modeNATTED guest networks only. ROUTED isolated networks do not support Source NAT, Static NAT, load balancing, port forwarding, or VPN
Per-network VREach guest network / VPC has its own virtual router — Remote Access VPN is not shared across networks
Public IPSource NAT public IP with VPN enabled — VPC or Isolated network
VPN client locationClient must be outside the VPC or Isolated network where Remote Access VPN is enabled

Reference: CloudStack — Configuring Remote Access VPN.


CloudStack global settings (not in CMP)

CloudStack admin UI / API only

These settings are configured in CloudStack Global Settings. CMP does not expose them. Your CloudStack operator or platform team must set them on the CloudStack management server before or during VPN rollout.

CloudStack path: log in as admin → Global Settings → search for remote.access.vpn

CloudStack global settingPurpose
remote.access.vpn.client.ip.rangeIP range allocated to Remote Access VPN clients. The first IP in the range is used by the VPN server
remote.access.vpn.psk.lengthLength of the generated IPsec pre-shared key
remote.access.vpn.user.limitMaximum VPN users per account

Customers still enable VPN and create VPN Users in CMP; these globals only control pool size, PSK length, and user cap on the CloudStack side.


Supported VPN clients (CloudStack)

CloudStack documents native L2TP/IPsec clients on Windows, macOS, and iOS. Linux and other platforms need a compatible L2TP/IPsec client.

Split tunneling — CloudStack expectation

Route only the guest/VPC CIDR through the VPN — not all internet traffic. CloudStack expects the installed route to cover the guest network only.


VPN Users behaviour (CloudStack)

Documented CloudStack behaviour — CMP creates the same VPN User objects via the CloudStack API.

BehaviourDetail
Separate user storeVPN users are not the main CMP/CloudStack account login database
Shared poolVPN users apply to all Remote Access VPNs the account owner has enabled
Access scopeEvery VPN user can access every such VPN
Per-account limitCapped by CloudStack global setting remote.access.vpn.user.limit (not configurable in CMP)

See VPN Users.


CloudStack limitations

Documented by Apache CloudStack

The limits in this section are CloudStack platform limitations for built-in Remote Access VPN (L2TP over IPsec, StrongSwan on the virtual router). They apply whether the customer uses CMP or the CloudStack UI directly.

Official reference: Limitations of Remote Access VPN.

Single connection per source IP / NAT subnet

CloudStack does not support multiple simultaneous Remote Access VPN connections from the same source public IP or NAT'ed subnet (StrongSwan implementation on the virtual router).

If several users share one office NAT or public IP, only one can be connected at a time. Additional attempts fail until the active session disconnects.

No overlapping subnets

Remote Access VPN does not provide NAT traversal or address translation for overlapping subnets between the VPN client and the VPC/guest network.

Plan non-overlapping CIDRs between the client side and the cloud network.

L2TP/IPsec is not Site-to-Site

CloudStack Remote Access VPN is for Road Warrior access (dynamic client IP, username/password). Use Site-to-Site VPN for office/datacenter networks.


CloudStack recommendation (enterprise remote access)

From CloudStack documentation: if the environment needs many concurrent VPN users behind the same NAT or public IP, built-in Remote Access VPN may not fit.

Consider:

  • Site-to-Site VPN from the office firewall to the VPC, or
  • A dedicated VPN appliance (for example OpenVPN or pfSense) inside the VPC

CloudStack reference: Guest Traffic — Remote Access VPN.