Wireguard client setup on Ubuntu

Hey folks I just wanted to drop this in here in case it’s helpful to anyone.

If you’re trying to set up the Wireguard client on a default Ubuntu install, the steps given in the docs don’t work and result in an error:

/usr/bin/wg-quick: line 32: resolvconf: command not found

resolveconf changed a bit around Ubuntu 18+ but the Wireguard packages are a bit behind. Background here: /usr/bin/wg-quick: line 31: resolvconf: command not found [WireGuard | Debian] - Super User

Anyway, the solution is to install the openresolv package, and then it works. TLDR;

sudo apt install openresolv

Maybe it’s worth noting this in the Private Networking docs page on setting up Wireguard?

1 Like

Assuming it was you who added this PR - thanks!

This has bugged me since I did the first iteration of our WG support. Thanks for calling this out.

Assuming it was you who added this PR

It wasn’t me! An unexpected visit from the docs fairy… :man_shrugging: :heart: