This readme only contains a detailed explanation of how to setup the WireGuard Portal service on a raspberry pi (>= 3).
You can download prebuild binaries from the release page. If you want to build the binary yourself,
use the following instructions:
This section describes how to build the WireGuard Portal code.
To compile the final binary, use the Makefile provided in the repository.
As WireGuard Portal is written in Go, golang >= 1.14 must be installed prior to building.
make build-cross-plat
The compiled binary and all necessary assets will be located in the dist folder.
/opt/wg-portal. You can choose a different path as well, but make sure to update the systemd service file accordingly.wg-portal.service file:
wg-portal.env file to fit your needssudo ln -s /opt/wg-portal/wg-portal.service /etc/systemd/system/wg-portal.servicesystemctl enable wg-portal.servicesystemctl start wg-portal.servicesystemctl stop wg-portal.servicesystemctl status wg-portal.service