WireGuard on Solus Linux

There are currently no WireGuard packages for Solus Linux. Follow along to install it manually.

If you trust this code, you may copy it verbatim, to your own .sh script and run.

# Download, build, & install WireGuard on Solus Linux

cd ~/Downloads/
#Navigate to the "Downloads" directory

sudo eopkg install git
#Install Git

git clone https://git.zx2c4.com/wireguard-linux-compat
git clone https://git.zx2c4.com/wireguard-tools
#Clone the WireGuard Git Repository for the module & tool

sudo eopkg install -c system.devel linux-current-headers
#Install the Solus Base Development Tools, current headers, and check installed packages

make -C wireguard-linux-compat/src -j$(nproc)
#Compile WireGuard module source

sudo make -C wireguard-linux-compat/src install
#Install WireGuard module

make -C wireguard-tools/src -j$(nproc)
#Compile WireGuard tool source

sudo make -C wireguard-tools/src install
#Install WireGuard tool

Notes for running WireGuard post install:

This assumes that you already have your keys and configs created & configured.

Secure Config Files:

sudo chown -R root:root /etc/wireguard/
sudo chmod -R 770 /etc/wireguard/

Run at Startup:

sudo systemctl enable wg-quick@wg0.service

Run Config:

wg-quick up wg0- (no .conf)

My Keybase Page: https://keybase.io/benjamichaelson Follow Me!