Concentrator Installation

From RetroNet Documentation
Jump to navigation Jump to search

Package Installation

sudo add-apt-repository ppa:wireguard/wireguard
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y wireguard openvswitch-switch

WireGuard Key Generation

Use the following command to generate keys for WireGuard to use.

NEVER share your private .key file with anybody. ONLY share the public .pub file.

export RNmemberName="drscriptt"
sudo wg genkey | sudo tee /etc/wireguard/${RNmemberName}-$(dnsdomainname -s).key | sudo wg pubkey | sudo tee /etc/wireguard/${RNmemberName}-$(dnsdomainname -s).pub > /dev/null