VPS versus VPN: two different things
The names differ by one letter and both contain "virtual private", but a VPS and a VPN solve unrelated problems. One is a computer you rent; the other is a secure path for network traffic.
What is a VPS?
A virtual private server is a virtual machine rented from a hosting provider. A hypervisor divides one physical machine into several, each with its own operating system, root access and a fixed share of processor, memory and disk. You use it like a small server: to host websites, run applications, store files or provide services. It is "private" in the sense that your operating system is separate from the other tenants on the same hardware.
What is a VPN?
A virtual private network is an encrypted tunnel that carries traffic between a device or network and a VPN server. Inside the tunnel, traffic cannot be read or altered by the networks it crosses. Companies use VPNs to connect staff and offices to internal systems; individuals use them to protect traffic on untrusted networks; server operators use them to link machines privately over the internet. It is "private" because the tunnel's contents are hidden from everyone in between.
| Question | VPS | VPN |
|---|---|---|
| What is it? | A rented virtual computer | An encrypted network tunnel |
| What does it do? | Runs software and stores data | Protects and routes traffic |
| Typical uses | Websites, apps, bots, databases | Remote access, site links, privacy on public Wi-Fi |
| What you pay for | Processor, memory, disk, traffic | Access to a tunnel endpoint, or nothing if self-hosted |
| Software examples | KVM guests with Linux | WireGuard, OpenVPN, IPsec |
How do they relate?
A VPN needs a server at one end, and that server can be a VPS, a dedicated server or a box in an office. Many people run their own VPN on a rented machine: the server provides the computing, and WireGuard or OpenVPN on it provides the tunnel. Conversely, a VPN is often how administrators reach the private services of their servers.
Where does a dedicated server fit?
It is the bigger relative of a VPS: the whole physical machine is yours, with no other tenants. We rent dedicated servers rather than virtual ones, and they make strong VPN hosts when many users or high throughput are involved, because encryption at several gigabits per second needs real processor time and an unshared port. A modest machine, such as ESSENTIAL-2 with a guaranteed 1 Gbps port at $43.20 a month, carries a company's remote access comfortably. You can also install Proxmox VE and carve the machine into your own virtual servers, one of which runs the VPN.
How do I run my own VPN server?
WireGuard is the simplest modern choice: small, fast and built into the Linux kernel. Generate keys, describe the server interface and each peer, enable forwarding and open one UDP port in the firewall.
install -d -m 700 /etc/wireguard/keys wg genkey | install -m 600 /dev/stdin /etc/wireguard/keys/gateway.key wg pubkey < /etc/wireguard/keys/gateway.key sysctl -w net.ipv4.ip_forward=1 net.ipv6.conf.all.forwarding=1 wg-quick up wg0 && systemctl enable wg-quick@wg0 wg show wg0 latest-handshakes
Our Company VPN gateways page covers a full gateway configuration with routing and client profiles.
Is self-hosting a VPN private?
It moves trust rather than removing it. With your own VPN server, the networks between you and the server see only encrypted traffic, and you control the server's logs. Websites you visit through it see the server's address. Since you are the operator, you decide what is recorded; our network usage terms still apply to what passes through, as they do to any server.
Which should I choose?
Both, for different jobs. If you need to run software, rent computing: a VPS for small loads, or a dedicated server when you want the whole machine. If you need to protect or route traffic, set up a VPN, ideally on a server you already run. Read Dedicated server vs VPS to choose the computing, and How VPNs work for how VPN protocols work.
Machines for self-hosted VPN gateways
| Model | Processor | Cores | Memory | Drives | Port | Per month |
|---|---|---|---|---|---|---|
| ESSENTIAL-1 | Intel Xeon-E 2386G | 6 | 32 GB | 2x 512 GB SSD NVMe | 1 Gbps unmetered | $38.40 |
| ESSENTIAL-2 | Intel Xeon-E 2388G | 8 | 32 GB | 2x 512 GB SSD NVMe | 1 Gbps unmetered | $43.20 |
| BUSINESS-1 2024 | AMD EPYC 4244P | 6 | 32 GB | 2x 960 GB SSD NVMe | 3 Gbps unmetered | $81.60 |
| BUSINESS-1 2026 | AMD EPYC 4245P | 6 | 32 GB | 2x 960 GB SSD NVMe | 3 Gbps unmetered | $113.40 |
Related pages
Company VPN gateways
Small, efficient machines for WireGuard and IPsec gateways that connect staff, offices and servers privately.
Read moreDedicated server vs VPS
When a whole physical machine beats a virtual slice, with price per core comparisons from our catalogue.
Read moreHow VPNs work
What a virtual private network does, the protocols in use today, remote access against site-to-site designs, split tunnelling and hosting your own gateway.
Read morePrivacy-friendly hosting
Rent bare metal without handing over a name, email or phone number, pay in crypto, choose the country of your data and encrypt what you store.
Read moreQuestions and answers
How does a VPS differ from a VPN?
A VPS is a rented virtual computer that runs software; a VPN is an encrypted tunnel that protects and routes network traffic.
Can I run a VPN on a server?
Yes. Install WireGuard or OpenVPN on a VPS or dedicated server and connect your devices to it.
Do you rent VPS plans?
No, we rent whole dedicated servers. You can run your own virtual machines on one with Proxmox VE.
What does a whole machine add for a VPN gateway?
Encryption for many users needs processor time and an unshared port, which a whole machine provides with steady performance.
Which VPN software is easiest to self-host?
WireGuard: it is built into the Linux kernel, needs one UDP port and has short configuration files.