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 genkeymakes the private key andwg pubkeyderives the public one.- AllowedIPs
The list of addresses a peer may send through the tunnel.
0.0.0.0/0, ::/0on 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.confand brings the interface up or down withwg-quick up wg0andwg-quick down wg0.
How does WireGuard compare with older VPN protocols?
| Point | WireGuard | OpenVPN | IPsec (IKEv2) |
|---|---|---|---|
| Transport | UDP only | UDP or TCP | UDP (ports 500 and 4500) |
| Where it runs on Linux | In the kernel since 5.6 | User space | Kernel plus a key daemon |
| Setup on a server | One package, one config file | Certificates and a CA | Certificates or pre-shared keys |
| Authentication | Public keys per peer | Certificates, passwords | Certificates, passwords, PSK |
| Easy to block on strict networks | Yes, easy to spot | Less so over TCP 443 | Yes |
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)
- WireGuard: fast, modern, secure VPN tunnel — WireGuard (read 2026-11-16)
- WireGuard: installation — WireGuard (read 2026-11-16)
- WireGuard: quick start — WireGuard (read 2026-11-16)
- wg-quick(8) manual page — man7.org (read 2026-11-16)
- 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.
- Built by a person, 1 hour at most after confirmation
- Lost days credited back if a server cannot be delivered
- Pay in BTC, XMR, USDT, USDC, ETH, SOL or LTC
- DomaineGoat LLC · Panama