Why WireGuard?
RAMonly uses WireGuard as its VPN protocol. WireGuard offers significant advantages over legacy protocols like OpenVPN and IPSec:
- ~4,000 lines of code vs 600,000+ for OpenVPN — smaller attack surface
- ChaCha20 encryption with Poly1305 authentication
- Curve25519 for key exchange
- Runs in kernel space for minimal overhead
Quick Setup (Recommended)
The fastest way to get connected is through the RAMonly desktop app:
- Download the RAMonly client from the Downloads page
- Log in with your account number
- Select a server and click Connect
The app handles all WireGuard configuration automatically.
Manual Configuration
For advanced users who want to configure WireGuard directly:
Step 1: Install WireGuard
# Windows
Download from wireguard.com/install
# macOS
brew install wireguard-tools
# Linux (Ubuntu/Debian)
sudo apt install wireguard
Step 2: Generate Keys
wg genkey | tee privatekey | wg pubkey > publickey
Step 3: Get Server Configuration
Use the RAMonly API to retrieve your WireGuard configuration:
curl -X POST https://api.ramonly.com/v1/connect \
-H "Authorization: Bearer YOUR_TOKEN" \
-d '{"server_id": "us-east-1"}'
Step 4: Apply Configuration
Save the returned config to /etc/wireguard/ramonly.conf and activate:
sudo wg-quick up ramonly
Performance Tips
- Choose the closest server — Lower latency means better speeds
- Use IPv6 if available — Often less congested than IPv4
- Keep MTU at 1420 — WireGuard's default is optimized for most networks
- Enable Kill Switch — Prevents leaks if the tunnel drops