Back to blog

How to Make Your Own VPN (Step by Step, 2026)

October 4, 2026 4 min read

You can make your own VPN, and you don't need to be a programmer to do it. You don't invent anything: you rent a small server, put VPN software on it, and connect your devices to it. The result is a VPN that only you use, on a server only you control, with no VPN company in the middle.

Here's the whole path, start to finish. Each step links to a longer guide if you want the detail.

What you're making (and what it isn't)

A VPN is a private, scrambled connection between your device and another computer. If you're new to the idea, start with what a VPN is. Your own VPN is the same thing, except that other computer is one you rent and run yourself.

It costs a few dollars a month for the server (see what it actually costs). It gives you a private IP address that nobody else shares. It does not make you anonymous, and it sits in one location, the one you pick. The company you rent the server from can still see basic details about the connection. Running a VPN is legal in most countries, but check the rules for yours.

Step 1: Decide what you need

Two choices matter at this stage.

Where should the server be? Close to you gives the best speed. Another country gives you an address that appears to be from there. How to choose a VPN server location walks through the tradeoffs.

Which VPN technology? If you're unsure, pick WireGuard: it's fast, simple, and works on almost every device. If your network blocks it, switch to AmneziaWG, which is the same speed with a disguise. If your network blocks VPNs more broadly, use VLESS with Reality, which is built to look like ordinary web traffic. The side-by-side comparison covers this in detail.

Step 2: Rent a server (a VPS)

A VPS is a computer you rent over the internet (see what a VPS is). Any provider works. When you create it:

  • Choose Ubuntu or Debian as the operating system.
  • Pick the smallest, cheapest size. One processor and 1 GB of memory is plenty for a personal VPN.
  • Choose the location from Step 1.
  • Set a password for the main administrator account, called root, or upload a security key if the provider offers it.

In a minute or two you'll get the server's address and its login. Best VPS providers for a VPN lists options.

Step 3: Put the VPN on it

There are two routes. Both end in the same place.

The manual route. You connect to the server over SSH, install WireGuard, create security keys, write the configuration files, open the right port in the firewall, and repeat parts of that every time you add a device. It's a good way to learn how it works, and the WireGuard on Ubuntu tutorial walks through every command. Expect a good part of an afternoon the first time.

The automatic route. Nullsify does those steps for you. In your dashboard, click Add Server, enter the server's address and login, and choose WireGuard, AmneziaWG, or VLESS. It installs and configures everything in a few minutes. Your login is used once for the install and isn't stored (details on the security page). You still own the server and the address, and the free plan covers up to 5 servers. Nullsify only installs and manages the VPN. It doesn't sell servers, so you rent one yourself first, as in Step 2.

Step 4: Connect your devices

Each device gets its own setup file, so you can remove one later (a lost phone, say) without affecting the rest. In Nullsify you click Get Config on the server, then copy the text or scan the QR code in the VPN app on your device.

Step-by-step guides for each:

The setup guide lists the app to use for each technology.

Step 5: Check that it works

A green "Connected" light only means the connection started. It doesn't prove your real address or your lookups aren't leaking around it.

  • Look up your public IP before and after connecting. It should change to the server's address.
  • Run a DNS leak test. Your lookups should not go to your internet provider.

How to check if your VPN is actually working shows the exact steps. If you rely on the VPN for privacy, also turn on a kill switch, so nothing is sent if the connection drops.

If something doesn't work

The usual causes are small and well known: a missing DNS setting, a firewall port that was never opened, or a network that blocks the technology you picked. Common self-hosting mistakes lists them with fixes.

What you've made

A private VPN on a server you control, with a clean address of your own and a separate setup for each device. You choose the location, the technology, and who has access. If you want to add family or teammates later, that's covered in self-hosted VPN for a family or team.

Ready to try it? Start with Nullsify and add your first server.

Ready to run your own VPN?

Bring your own VPS and have VLESS, AmneziaWG, or WireGuard running in minutes — no manual setup required.