[WireGuard](https://www.wireguard.com/) is a relatively new VPN implementation that was added to the Linux 5.6 kernel in 2020 and is faster and simpler than other popular VPN options like IPsec and OpenVPN.
We'll walk through setting up an IPv4-only WireGuard VPN server on DigitalOcean, and I'll highlight tips and tricks and educational asides that should help you build a deeper understanding and, ultimately, save you time compared to "just copy these code blocks" WireGuard tutorials.
To set up a VPN, we need two computers that we want to connect. One of these is typically a desktop/laptop/phone in your possession. If you're looking to remotely access company intranet sites and services, the other computer would be a server in an office or on a company cloud network. If you're looking to remotely access your own home network, privately network with family/friends, or encrypt all of your internet traffic, then the other computer would be a personal server on a cloud provider like DigitalOcean or AWS.
![VPN connectivity overview](https://uploads-ssl.webflow.com/5fff85e7f613e35edb5806ed/603d45a990d65e613dd3d709_1_GLmja2eNsyMySzRDd1kUJA.png) *VPN connectivity overview. CC BY-SA 4.0, Image attribution: [https://en.wikipedia.org/wiki/File:VPN_overview-en.svg](https://en.wikipedia.org/wiki/File:VPN_overview-en.svg)*