Skip to main content

Remote Access VPN

Remote Access VPN (Road Warrior) lets an individual user connect from a laptop or PC over the internet to private VMs on a VPC or Isolated network — without exposing VM private IPs to the public internet.

Use this when:

  • An administrator needs SSH or RDP to a private VM
  • A developer needs access to internal application servers
  • A support engineer needs temporary access from home or office
CMP vs CloudStack
  • This section — customer and admin workflows in CMP (Networking → Networks).
  • CloudStack reference — same objects in the CloudStack UI/API when troubleshooting or validating behaviour.
One-line summary

User/laptop → private VM = Enable Remote Access VPN on Source NAT public IP + VPN User + L2TP/IPsec client.

Works on VPC Source NAT IP and Isolated network Source NAT IP.

Do not use VPN Customer Gateway, Site-to-Site VPN, VPC VPN Gateway, VPN Connection, or Private Gateway for this scenario.

For entire office network → cloud, use Site-to-Site VPN instead.


Supported network types

Network typeEnable VPN onCMP tab / path
VPCVPC Source NAT public IPNetworking → Networks → Public IP Address (VPC context) or VPC detail
Isolated networkIsolated Source NAT public IPNetworking → Networks → Public IP Address

Both use the same Remote Access VPN model: L2TP/IPsec on the guest network virtual router. Requires a NATTED offering with Remote Access VPN / VPN enabled — not ROUTED mode.

Workflows: VPC · Isolated network


Architecture

Your Laptop / PC
VPN Client (L2TP/IPsec)
Public Internet (dynamic or static IP OK)
|
| L2TP/IPsec + VPN User credentials
v
+-----------------------+
| VPC or Isolated net |
| Source NAT Public IP |
| Remote Access VPN |
| | |
| Virtual Router |
| | |
| VM private IP |
+-----------------------+

After connect, the VPN client receives a route to the guest CIDR. Traffic to the VM private IP flows: laptop → VPN tunnel → virtual router → VM.


CMP — what to use

CMP locationWhat it isLaptop test?
Networks → VPN UsersRemote VPN user credentialsYes
Networks → Public IP Address → Source NAT → Enable VPNRemote Access VPN + IPsec PSKYes (VPC or Isolated)
Networks → VPN Customer GatewayCustomer firewall for Site-to-Site❌ No

CloudStack UI — reference

CloudStack locationWhat it isLaptop test?
Network → VPN UsersRemote VPN user credentialsYes
Guest network / VPC Source NAT IP → VPN tabRemote Access VPN endpoint + IPsec PSKYes
Network → VPN Customer GatewaySite-to-Site customer endpoint❌ No
VPC → Site-to-Site VPN / VPN GatewaySite-to-Site CloudStack side❌ No
VPC → Private GatewayPrivate network routing (not VPN)❌ No

Three pieces of client information

#SettingSource (CMP / CloudStack)
1Server IPSource NAT public IP on the VPC or Isolated network
2IPsec PSKShown after Enable VPN on that IP
3Username / passwordVPN User

Your laptop's public IP is not entered in CMP or CloudStack for Remote Access VPN.


Pages in this section

PageDescription
WorkflowCMP + CloudStack — VPC and Isolated network paths
VPN UsersCreate VPN User in CMP; CloudStack reference
Limitations and PrerequisitesCMP prerequisites; CloudStack-only global settings and documented limits

Limitations (summary — CloudStack)

These limits are documented by Apache CloudStack, not CMP-specific. Global tuning (remote.access.vpn.*) is CloudStack Global Settings only — not available in CMP.

See Limitations and Prerequisites for full detail.

LimitationDetail (CloudStack)
Same source NATOnly one simultaneous connection per source public IP / NAT subnet (StrongSwan)
Overlapping subnetsNo NAT traversal between client and guest CIDRs
ROUTED networksRemote Access VPN not available on ROUTED-mode isolated networks
Client locationVPN client must be outside the VPC or Isolated network where VPN is enabled