Skip to content

Nowire Setup Quickstart

thedunston edited this page Mar 29, 2021 · 1 revision

Install session (You will have to configure SSL with Apache).

apt update
apt install apache2 php php-ssh2 php-sqlite3 sqlite3 php-mbstring php-imagick jq bc qrencode
git clone https://github.com/thedunston/nowire.git
cd nowire/
HEADLESS_INSTALL=y sudo ./wireguard-server.sh --install
sudo bash nowire-setup.bash
visudo
     (add the line below and change 'hostname' to your webserver's hostname)
www-data hostname = NOPASSWD: /bin/bash /var/peers/wireguard-nowire/tmp/wg-add.bash
     (exit visudo)
wg-quick up wg0
sudo systemctl enable wg-quick@wg0
Clone this wiki locally