Home / Your own VPN,
Personal VPN

Your own VPN, on your own server.

A VPN you run yourself gives you one exit you control instead of a shared one you must trust. A small plan is enough for personal use.

What a self-hosted VPN is good for

  • Encrypting traffic on public Wi-Fi.
  • Reaching your home or office network from anywhere.
  • A stable IP address you control, in a region you choose.

What it does not do

  • It does not make you anonymous. Your VPS provider can see that the server exists and whom it was rented by, and any site you log into still knows who you are.
  • A single-user exit IP is easy to link to you over time. If you need anonymity against a capable observer, use Tor.

Which plan

A small plan handles WireGuard comfortably. Choose the region nearest you for speed, or a region with the jurisdiction you prefer. Watch the monthly transfer allowance if you stream a lot.

Minimal WireGuard setup

The WireGuard quick start covers the configuration file and the firewall and NAT rules in detail. Open only the UDP port you chose and SSH, as in the hardening checklist.

apt update && apt install -y wireguard
wg genkey | tee /etc/wireguard/server.key | wg pubkey > /etc/wireguard/server.pub
# write /etc/wireguard/wg0.conf with an [Interface] and one [Peer] per device
sysctl -w net.ipv4.ip_forward=1
systemctl enable --now wg-quick@wg0

Before you rely on it

  • Check for DNS and IPv6 leaks after setup.
  • Pick a region that gives your traffic a sensible exit location.
  • Keep the server patched. See the hardening checklist.
  • Remember the server has one IP address. It is not the shared-pool anonymity of a commercial VPN.
FAQ

Common questions

Is it faster than a commercial VPN?

Often, because you are the only user. Speed depends on the distance to the server and the plan's bandwidth.

Is a self-hosted VPN more private than a VPN service?

It removes a third-party service from the path, but the server is tied to one IP and to you. It suits trust in your own setup rather than blending into a crowd.

Which VPN software should I use?

WireGuard is small, fast and easy to audit. OpenVPN is a mature alternative.

What plan do I need for a personal VPN?

BASE is enough for a handful of devices. Choose larger if many people will connect at once.

Keep reading

Related pages

VPS hardening checklist: secure a new Linux server in 15 minutes

A practical checklist for a new Linux VPS: SSH keys, a non-root user, firewall, automatic updates and backups, with the commands.

Read more →

Run a Tor onion service on a VPS

How to publish a website or admin panel as a Tor onion service on a VPS: install, configure, test and keep it private.

Read more →

Host your own

Host your own apps on a private VPS: what size to choose for common self-hosted services, backups, updates and where to start.

Read more →

Start with a small plan.

Configure BASE