Run your own VPN on a $2.00 VPS

A personal VPN on your own server costs less than most subscriptions and gives you an IP nobody shares. How to set it up with WireGuard.

Codature team1 min read

Codature

Why run your own VPN

Commercial VPN services are convenient, but you share IP addresses with thousands of other users, which means more CAPTCHAs and more blocks. You're also trusting the provider's claims about logging.

A VPN on your own server gives you a dedicated IP that only you use, full control over the configuration, and a monthly cost that's often lower than a subscription.

What you need

A VPN for a few devices needs very little: the Nano plan, 1 vCPU and 1 GB of RAM for $2.00/mo, is plenty. What matters more is bandwidth, and Nano includes 1 TB per month. If you're sharing with family or streaming a lot, Micro gives you 2 TB for $3.00/mo.

You also need real virtualization. Codature runs on KVM, so WireGuard's kernel module works out of the box. On some container-based VPS hosts, it doesn't.

Setting it up

The basic WireGuard setup takes about fifteen minutes:

  • Deploy a VPS and update the system packages
  • Install WireGuard from your distribution's package manager
  • Generate keys for the server and each device
  • Enable IP forwarding and add a firewall rule for the WireGuard port
  • Import the client config on your phone or laptop, often by scanning a QR code

Why a Miami exit point

A Miami server gives you a U.S. IP address with short routes to Latin America and the Caribbean, which makes it a good fit if you travel or live in the region. With a free IPv6 /64 on every plan, your VPN can hand out real IPv6 addresses to your devices too.

Use your VPN responsibly and within our terms. Start with a plan on the Miami VPS page.