Setting up WireGuard
This is a quick guide on installing WireGuard and adding peers to the server. It also includes QR generation so you can easily add mobile devices.

I've been dying to try out WireGuard for a while now, and I finally got around to it. I was scouring tutorials and also checked the docs and figure it all out. It's a new VPN protocol, that works similarly to ssh. I've put my desktop, iPhone, and MacBook Air on it. Here's a few neat things it's allowed me to try:
Running iOS builds from xcode without being on the same physical network. Useful on an unknown network and you don't feel like connecting your phone after connecting your laptop.
Accessing development servers from any device, without remembering the IP address. Ex:
macbookair:3000
from any of my devices, across any network.Throwing up code-server on my desktop, and coding from my iPad from anywhere.
Using VS Code's Remote SSH plugin, and running all projects on a desktop, increasing Macbook air battery life. Plus things run way faster and cooler on the laptop now!
Steam link / game streaming away from home.
Adding a windows file share (raid setup) to the iOS Files app, using it fr…
Keep reading with a 7-day free trial
Subscribe to zach.codes to keep reading this post and get 7 days of free access to the full post archives.