WireGuard Linux Client

WireGuard Linux client config guide

WireGuard Linux client configuration guide

Installation:

sudo apt install wireguard

Get the .conf client configuration file and place it under /etc/wireguard/. This guide uses wg0.conf as an example.

Start the connection:

sudo wg-quick up wg0

If it runs into the /usr/bin/wg-quick: line 32: resolvconf: command not found error, install openresolv:

sudo apt install openresolv

Check the connection status:

sudo wg show

Stop the connection:

sudo wg-quick down wg0

Alternatively, some Linux distributions support the configuration of WireGuard connections in their network manager.

References:

https://www.wireguard.com/install/

https://serverspace.io/support/help/how-to-install-wireguard-vpn-client-on-ubuntu-linux/

https://superuser.com/questions/1500691/usr-bin-wg-quick-line-31-resolvconf-command-not-found-wireguard-debian

https://gist.github.com/sidmulajkar/472cc9dd475ef14a598db0c64f025491

https://forums.linuxmint.com/viewtopic.php?t=389817

https://www.xmodulo.com/wireguard-vpn-network-manager-gui.html

Content Licensed under CC BY-SA 4.0. Code licensed under the MIT License.