Cloud VMs and wg-easy

Create VM for Akamai Cloud (Linode)

Create Ubuntu server with public IPv4 inside your own Akamai Cloud (Linode) account. Follow di console steps, connect from Mobile SSH, then install wg-easy as separate work.

These instructions dey use provider console. Di published VPN Setup plugin dey combine cloud creation, wg-easy installation and client import for compatible Android builds. You fit still create VM here and use im console/existing-server path, or install manually. Console setup no need cloud API login details for Mobile SSH. AWS EC2 provisioning for VPN Setup still na console-only option; we never establish equivalent iOS automation.

Check which plugins dey available

Open di provider console — Akamai Cloud (Linode)

Before you start

  • Activate billing and check di region limits for VMs, disks and public IPs. Review di price wey dem display before you create resources; no assume say free tier or any particular plan dey available.
  • For this setup, use Ubuntu 24.04 LTS with at least 1 GB RAM and 20 GB storage, or di provider minimum if e bigger. Make di CPU architecture match di image. Na this guide baseline be this, no be minimum wey every wg-easy setup must use.
  • Keep your SSH private key inside Mobile SSH and upload only im public key. Ed25519 dey work with di current Android and iOS clients; di Lightsail steps explain im RSA import and di extra setup for iOS. Write your current public IPv4 with /32 after am as di SSH source, or use your approved management CIDR.

Network rules for this setup

  • Allow incoming TCP 22 from di management CIDR. Remove wider SSH allow rules if you no need dem; adding narrow rule no automatically cancel wider one. Update di source when your phone public address change.
  • For di VPN step later, allow incoming UDP 51820 from VPN-client networks; clients wey dey move between networks fit need 0.0.0.0/0. Set IPv6 rules with care if you enable IPv6.
  • Keep public TCP 51821 closed. Di wg-easy admin interface go bind to server loopback, and you go reach am through SSH forwarding.
  • Allow di outgoing DNS, package/container downloads and VPN traffic wey you need. Check both cloud and guest firewalls; preserve provider storage rules and essential ICMP rules.

Create di server and connect

  1. Open Firewalls → Create Firewall → Custom Firewall. Enter label. Keep Default Inbound Policy: Drop and Default Outbound Policy: Accept; this allow outgoing traffic but require explicit rules for incoming connections.

    Provider instructions
  2. Add inbound rule with Protocol: TCP, Ports: 22, Sources: IP/Netmask wey contain your management CIDR, and Action: Accept. If you want, add di shared guide UDP 51820 rule. Click Save Changes to activate di rules.

    Provider instructions
  3. Open Create → Linode. Choose nearby core compute region, then Distributions → Ubuntu 24.04. Select available plan with at least 1 GB RAM and 20 GB disk, or di provider minimum if e bigger.

    Provider instructions
  4. Set di Label. Under security, select existing SSH key or click Add an SSH Key and paste your public key. Root Password na optional when you provision with SSH key; keep your private key for your device.

    Provider instructions
  5. Under networking, choose Public Internet and Linode Interfaces. Select your firewall for that public interface. Under IP address, choose Reserved and address for di same region, or click Reserve IP to get one.

    Provider instructions
  6. Review optional backups and other charges for Linode Summary, then click Create Linode. Wait for initialization and record im public IPv4. Di reserved address go remain with your account after you delete di server, and e no fit move to another region.

    Provider instructions
  7. Save di server inside Mobile SSH

    Open Servers, add server and fill these values. Choose di credential wey hold di matching private key. If di username wey you configure differ from this guide example, use your own.

    Host
    Di VM public IPv4 from di provider console
    Port
    22
    Username
    root
    Authentication
    Di matching SSH private-key credential

    Get di SSH host-key fingerprint through di provider trusted console or boot logs and compare am before you trust di connection. For Android, turn off automatic acceptance of new identities if you wan review first use. Investigate changed-key warnings before you replace saved identity. SSH keys and identity checks

  8. Install wg-easy as separate step

    First confirm say di saved server dey open terminal and your login get root or sudo access. Then follow di shared wg-easy installation guide: Docker, pinned container, private administration through SSH, client creation and VPN checks. Di installer need SSH access, no be your cloud API secret.

    Continue to di wg-easy installation steps

Optional API login details for VPN Setup

Skip this section for console setup. Di published VPN Setup plugin dey use these credentials for im ten supported cloud providers on compatible Android builds; im AWS adapter dey use Lightsail, no be EC2. EC2 credential notes only describe future automation. These permission lists na guidance; no be live-tested minimum policies for every provider or account.

  1. For VPN Setup API provisioning: open username menu → API Tokens → Create a Personal Access Token. Set label and expiry.

    Provider instructions
  2. Grant only di scopes wey e need: provisioning generally need Linodes and Firewalls Read/Write; reserving or releasing addresses also need ips:read_write. Save di token securely.

    Provider instructions

Enter credentials only for protected native form; credential entry and approvals need screen. Native code dey authenticate with approved provider endpoints without passing cloud secrets to VM or plugin worker. No put secrets for voice prompts or terminal commands. Use narrowest supported scope, record expiry and revoke credentials wey you no need again.

Delete resources wey you no need again

Stopping di VM, canceling setup job or removing Mobile SSH profile no delete cloud resources and no guarantee say charges go stop. Keep resource IDs until you confirm deletion, and preserve resources wey no concern this setup.

  1. Save di data wey you need, then open Linodes → … → Delete → Delete Linode. Check volumes and images wey remain separately.

    Provider instructions
  2. For address wey you no want, open Reserved IPs → … → Unreserve and confirm. Reserved IPs remain after server deletion and continue to get charges until you release dem.

    Provider instructions

Cloud VMs and wg-easy