WireGuard VPN
Modern, fast, and secure VPN. Simpler and more efficient than OpenVPN or IPsec. Ideal for secure remote access and online privacy.
Getting started
- Go to https://my.cubepath.com/deploy
- Select a VPS plan
- Under Operating System, choose "WireGuard VPN"
- Click Deploy
Once the deployment is complete (~5 minutes, may vary depending on machine size), access http://your-server-ip:51821 to manage your VPN.
Deploy via CubePath Cloud API
Via CubeCLI
pipx install git+https://github.com/CubePathInc/cubecli.git
cubecli vps create \
--name wireguard-vpn \
--plan gp.nano \
--template "WireGuard" \
--location us-mia-1 \
--project <project-id>
Via API
curl -X POST https://api.cubepath.com/v1/vps \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"name": "wireguard-vpn",
"plan": "gp.nano",
"template": "wireguard",
"location": "us-mia-1"
}'
Technical information
Web access credentials:
- URL: http://YOUR-IP:51821
- Password: PathOfCubes (change it at: Settings > Change Password)
Installed software:
- Docker + WG-Easy (latest)
- WireGuard kernel module
Locations:
- Installation: /opt/wg-easy/
- Configuration: /opt/wg-easy/
Ports:
- 22 (SSH)
- 51820 (UDP - WireGuard)
- 51821 (TCP - Web UI)
Useful commands
# Check status
docker ps
# View logs
docker logs wg-easy
# Restart WireGuard
docker restart wg-easy
# View connected clients
docker exec wg-easy wg show