Connect to CloudRaya VPN
This guide explains how to connect your device to a CloudRaya VPN in order to securely access resources inside your Virtual Private Cloud (VPC).
Prerequisites
Before connecting to CloudRaya VPN, ensure that:
- You have at least one Virtual Machine in the selected region
- VPN is enabled for the VPC
- You have:
- VPN Public IP
- Pre-Shared Key (PSK)
- VPN username and password
These details are available from the VPN page in the CloudRaya Control Panel.
VPN Connection Requirements
CloudRaya VPN uses:
- Protocol: L2TP/IPsec
- Authentication: Username & Password
- Encryption: IPsec with Pre-Shared Key
- Client Compatibility:
- Windows
- macOS
- Linux
For Windows clients, MS-CHAP v2 must be enabled.
Connecting to CloudRaya VPN
Connection steps differ by operating system.
Choose your platform below for detailed instructions:
📄 Connect to CloudRaya VPN on Windows
📄 Connect to CloudRaya VPN on macOS
📄 Connect to CloudRaya VPN on Linux
Each guide provides step-by-step instructions tailored to the operating system.
Viewing VPN Information
From the CloudRaya Control Panel, you can view:
- VPN Public IP address
- Pre-Shared Key (PSK)
- VPN status (Enabled / Disabled)
To reveal the Pre-Shared Key:
- Open Dashboard → Network → VPN
- Select a VPN profile
- Click Get Key
- Copy the displayed Pre-Shared Key
Managing VPN Users
VPN access is controlled using VPN users.
You can:
- Create VPN users
- Enable or disable VPN access
- Remove VPN users when no longer needed
Each VPN user:
- Can be used across multiple VPCs
- Must remain within the same location / region
📄 See: Manage VPN
Common Use Cases
CloudRaya VPN is commonly used for:
- Secure server administration
- Accessing private services and databases
- Infrastructure debugging
- Internal application testing
- Hybrid access from office or home networks