Your own VPN server · WireGuard, Outline, AmneziaWG · 6 cities · Pay in BTC, USDT, USDC, ETH, SOL, LTC, XMR
Language: English
Get a VPN server

Definition · VPN protocols · read 16 November 2026

What is WireGuard?

The protocol behind most personal VPN servers today: what it does, how it differs from older VPNs, and what it does not hide.

Last updated: · 5 min read

Quick answer

What is WireGuard?

WireGuard is a free, open-source VPN protocol that sends encrypted traffic over UDP between peers that know each other's public keys. It has been part of the Linux kernel since version 5.6 and has official apps for iOS, Android, Windows and macOS. TunnelVPS servers run it from about $2.25 a month.

In brief
  • What it is: a VPN protocol and its software, released under open-source licences.
  • How it connects: each device and the server swap public keys; traffic travels over UDP.
  • Where it runs: inside the Linux kernel, plus official apps on four desktop and phone systems.
  • What it is not: an anonymity tool. It hides traffic from the local network, not from the sites visited.

What do the main WireGuard terms mean?

Peer

Any machine in a WireGuard tunnel: the server and each phone or laptop. Each peer has its own key pair and its own line in the other side's configuration.

Key pair

A private key kept on the device and a public key handed to the other side. wg genkey makes the private key and wg pubkey derives the public one.

AllowedIPs

The list of addresses a peer may send through the tunnel. 0.0.0.0/0, ::/0 on a phone sends all its traffic to the server; a short list makes a split tunnel.

Endpoint

The public IP address and UDP port of the server, written in each client file. On a TunnelVPS server it is the dedicated IPv4 shown in the dashboard.

Handshake

The short key exchange that opens or refreshes a session. A recent handshake time in the app is the quickest sign that the tunnel works.

wg-quick

The helper that reads /etc/wireguard/wg0.conf and brings the interface up or down with wg-quick up wg0 and wg-quick down wg0.

How does WireGuard compare with older VPN protocols?

WireGuard, OpenVPN and IPsec on the points that matter for a personal VPN server, from the projects' own pages read 16 November 2026
PointWireGuardOpenVPNIPsec (IKEv2)
TransportUDP onlyUDP or TCPUDP (ports 500 and 4500)
Where it runs on LinuxIn the kernel since 5.6User spaceKernel plus a key daemon
Setup on a serverOne package, one config fileCertificates and a CACertificates or pre-shared keys
AuthenticationPublic keys per peerCertificates, passwordsCertificates, passwords, PSK
Easy to block on strict networksYes, easy to spotLess so over TCP 443Yes

How does WireGuard work, in plain words?

Each device and the server hold a key pair, and each knows the other's public key. A device sends encrypted packets over UDP to the server's endpoint. The server checks the key, decrypts the packet and forwards it to the internet. Replies come back the same way.

There are no user names and no passwords in WireGuard. A device that does not hold a listed key gets no answer at all. This is why one WireGuard server can serve many devices: one [Peer] block per device. The guide to adding a device shows that step.

Why is WireGuard the usual choice for a personal VPN server?

It is small, fast to set up and already on every recent Linux server. On Ubuntu, the official install page lists one command: sudo apt install wireguard. A server then needs a key pair, a wg0.conf file and IP forwarding. The one-command install guide walks through those parts.

TunnelVPS read the WireGuard install page on 16 November 2026. It lists apps for iOS and macOS in the App Store, Android on Google Play, a Windows installer and packages for most Linux systems. Routers with OpenWrt or GL.iNet firmware import the same file.

When is WireGuard not the best protocol?

On networks that block VPN traffic, WireGuard is easy to recognise and cut. Its packets have a fixed shape. Some hotel, office and national networks drop them. Outline, which uses Shadowsocks, and AmneziaWG, a WireGuard variant that disguises its packets, were built for those networks.

The protocol comparison sets the three side by side. A single TunnelVPS server can run WireGuard for most devices and Outline or AmneziaWG for the one that needs it.

What does WireGuard hide, and what does it not hide?

WireGuard hides traffic from the café Wi-Fi, the office network and the internet provider. It does not hide traffic from the sites visited. A personal VPN hides traffic from the local network and the internet provider, not from the sites visited: every connection leaves through one IP address rented by one account, so it is a private tunnel, not anonymity.

On a self-hosted server, the exit address belongs to one renter. That is useful for a stable address, and the reverse of a crowd. The page is a self-hosted VPN anonymous? explains the difference.

What does it cost to run WireGuard on your own server?

The software is free; the cost is the server. On TunnelVPS, Solo costs $2.25 a month on 12 months with 2 TB of traffic, and Home costs $6.37 with 5 TB. Plans under $15 a month (Solo, Duo, Home) are rented for 3 months at least; Crew, Fleet can be rented month to month. The page how much does a personal VPN server cost compares this with shared VPN services.

WireGuard questions

Is WireGuard free?

Yes. The protocol and its official apps are free and open source. A self-hosted setup only costs the server it runs on.

Is WireGuard a VPN service?

No. It is a protocol. Commercial VPN services use it on their own servers, and anyone can run it on a rented VPS.

Which port does WireGuard use?

Any UDP port the server owner picks. The examples on wireguard.com use 51820. On TunnelVPS, inbound UDP is open and the customer sets the firewall.

Is WireGuard better than OpenVPN?

For a personal server, it is simpler and lighter. OpenVPN can run over TCP, which helps on some networks that block UDP.

Does WireGuard work with IPv6?

Yes. A tunnel can carry IPv4 and IPv6. Every TunnelVPS server has a dedicated IPv4 and a routed IPv6 /64.

Verdict
  • WireGuard is the default protocol for a personal VPN server: one package, one file, apps everywhere.
  • Add Outline or AmneziaWG only where a network blocks it.
Sources (5)
  1. WireGuard: fast, modern, secure VPN tunnel — WireGuard (read 2026-11-16)
  2. WireGuard: installation — WireGuard (read 2026-11-16)
  3. WireGuard: quick start — WireGuard (read 2026-11-16)
  4. wg-quick(8) manual page — man7.org (read 2026-11-16)
  5. AmneziaVPN: install a VPN on your server — Amnezia (read 2026-11-16)

Run WireGuard on a server of your own

Solo: 1 shared vCPU, 2 GB RAM, 40 GB NVMe, 2 TB a month, $2.25 a month on 12 months.

From $2.25/mo on 12 months · no KYC

Get a server