Wireguard

How I set up Wireguard to access my home network remotely.

  ·   1 min read

Why Wireguard?

Motivation

A year or two ago, I installed and configured Plex on my Windows desktop so I could stream media from my hard drive directly to any device on my local network - my phone, my Xbox, my laptop, etc.

I had run web applications locally throughout my undergraduate degree, but never had a comprehensive view of computer networking. Running Plex purely over Wi-Fi, and experiencing instability led me to

Google Remote Desktop

Cloudflare Tunnels

Tailscale

Wireguard

Goal

Set up Wireguard so I can securely access my local network when I’m not at home.

Requirements

  • Server OS
  • Client OS

Wireguard on Server

My server is a mini PC running Ubuntu Server 20.04.

sudo apt install wireguard

sudo ip link add dev wg0 type wireguard