Seedbox and Storage-Heavy VPS: What to Consider Before You Buy
Seedboxes and other storage-heavy workloads stress disk, bandwidth and I/O in ways ordinary sites do not. How to size the server, read transfer limits and stay on the ri…
WireGuard turns a small VPS into your own fast, private VPN for secure public Wi-Fi, remote access to your servers and a stable IP. Complete setup and the trade-offs to understand.
WireGuard has become the go-to protocol for self-hosted VPNs. It is built into the Linux kernel, uses modern cryptography and needs only a few lines of configuration. In about twenty minutes, a small VPS can become your personal VPN endpoint. This guide covers why you might want one, how to set it up, and the honest limits of what it gives you.
Be clear about the limits. A self-hosted VPN moves trust from your local network to your VPS, but:
WireGuard is very efficient, so CPU and RAM needs are small. Bandwidth matters more, since every byte you browse passes through the server twice (in and out).
| Use | Plan | Specs | Transfer | Price |
|---|---|---|---|---|
| Personal, few devices | VPS Starter | 1 vCPU / 1 GB | 1 TB | $2.78 |
| Household or small team | VPS Basic | 1 vCPU / 2 GB | 3 TB | $5.98 |
| Privacy-focused jurisdiction | Anchor Starter (DMCA track) | 1 vCPU / 1 GB | 1 TB | $3.28 |
Pick a location close to you for speed, or a specific country if you need an IP there for legitimate testing or access. Standard plans offer ten locations; the DMCA track offers locations such as the Netherlands, Romania and Bulgaria. A different jurisdiction changes which copyright notice process applies, but it is not a licence for illegal activity, and the abuse policy is identical everywhere.
Deploy Ubuntu 24.04 or Debian 12, create a sudo user, use SSH keys and enable UFW. Our VPS security checklist explains each step.
sudo apt update
sudo apt install wireguard qrencode
Because RexaHost VPS plans run on KVM with their own kernel, the WireGuard kernel module works out of the box.
cd /etc/wireguard
umask 077
wg genkey | tee server.key | wg pubkey > server.pub
wg genkey | tee phone.key | wg pubkey > phone.pub
Find your public network interface with ip route (often eth0 or ens3). Create /etc/wireguard/wg0.conf:
[Interface]
Address = 10.8.0.1/24
ListenPort = 51820
PrivateKey = <contents of server.key>
PostUp = iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
PostDown = iptables -t nat -D POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE
[Peer]
# phone
PublicKey = <contents of phone.pub>
AllowedIPs = 10.8.0.2/32
echo "net.ipv4.ip_forward=1" | sudo tee /etc/sysctl.d/99-wireguard.conf
sudo sysctl --system
sudo ufw allow 51820/udp
sudo ufw route allow in on wg0 out on eth0
sudo systemctl enable --now wg-quick@wg0
sudo wg show
[Interface]
PrivateKey = <contents of phone.key>
Address = 10.8.0.2/32
DNS = 1.1.1.1
[Peer]
PublicKey = <contents of server.pub>
Endpoint = YOUR_SERVER_IP:51820
AllowedIPs = 0.0.0.0/0, ::/0
PersistentKeepalive = 25
Save it as phone.conf and display a QR code with qrencode -t ansiutf8 < phone.conf. Scan it in the WireGuard mobile app. On desktop, import the file into the WireGuard client.
AllowedIPs = 0.0.0.0/0, ::/0 routes all traffic through the VPN. To route only traffic for your private servers (split tunnelling), list just the private range, such as 10.8.0.0/24.
sudo wg show on the server to see a recent handshake.Each device needs its own key pair and a unique address (10.8.0.3, 10.8.0.4 and so on). Add a [Peer] block on the server for each, then run sudo systemctl restart wg-quick@wg0. Remove a peer to revoke a lost device instantly.
One of the best uses of WireGuard is hiding management interfaces. Once connected, restrict SSH and admin panels to the VPN subnet:
sudo ufw allow from 10.8.0.0/24 to any port 22 proto tcp
Keep a fallback (such as the provider's console) before removing public SSH access, so a VPN mistake does not lock you out.
| Symptom | Likely cause | Fix |
|---|---|---|
| No handshake | UDP port blocked or wrong endpoint | Check UFW rule and server IP in client config |
| Handshake but no internet | Forwarding or NAT missing | Check ip_forward, MASQUERADE rule and interface name |
| Websites slow to load | DNS issue | Set a working DNS server in the client config |
| Connection drops on mobile | NAT timeout | Keep PersistentKeepalive = 25 |
| Some sites fail, others work | MTU problems | Try MTU = 1380 in the client Interface section |
OpenVPN is the older, widely deployed alternative. It is flexible and can run over TCP port 443, which helps on restrictive networks. WireGuard is simpler to configure, generally faster and uses less CPU, which matters on small VPS plans and for mobile battery life. For most personal and small team setups, WireGuard is the better default; OpenVPN remains useful when you need TCP transport or compatibility with older equipment.
Running a VPN is legal in most countries but restricted in some, so check local laws. More importantly, whatever leaves your VPN leaves from your server. Malware distribution, phishing, spam, fraud, attacks and illegal content are removed and lead to suspension on every RexaHost track, including privacy-focused locations. If you plan to share access with others, you are responsible for their traffic too. Our article on what DMCA-ignored hosting really means explains how jurisdiction and abuse policy interact.
For a few dollars a month you get an encrypted tunnel you control, a stable IP and a private network for your servers. Set it up once, back up the configuration, and it will quietly do its job.
A Linux VPS from $2.78 a month is all you need for a personal WireGuard server. Deploy in your preferred location, pay with crypto and follow the steps above.
It gives you control over logging and configuration, but all your traffic exits from one IP that is linked to your account. It protects you on untrusted networks; it does not make you anonymous.
Very little. WireGuard is lightweight, so a 1 vCPU, 1 GB plan handles a household or small team. Bandwidth allowance matters more.
WireGuard uses a UDP port you choose. 51820 is the common default.
Yes. Official WireGuard apps for Android and iOS can import a configuration by QR code.
In most countries, yes. Some countries restrict VPN use. Check the laws where you are and where your server is, and remember that your host's abuse policy applies to traffic from your server.
Plans in this article
Keep reading
Seedboxes and other storage-heavy workloads stress disk, bandwidth and I/O in ways ordinary sites do not. How to size the server, read transfer limits and stay on the ri…
Run your own Minecraft Java server on a Linux VPS: choosing the right plan, installing Java and Paper, running it as a service, opening ports, backing up worlds and keep…
Docker makes deploying apps on a VPS repeatable. Install Docker Engine, deploy with Compose, add HTTPS with a reverse proxy, and avoid the common security mistakes.