Manage a community vpn/dns network
back | ||
front | ||
.gitignore | ||
docker-compose.yml | ||
README.md |
wgapi
2022 Keith Irwin (ki9.gf4.pw)
Allow cgi scripts to run as root
To ensure the srv/send/wg
and srv/send/ssl
commands can run as root, run
sudo visudo
And add these lines:
# Let http run these cgi scripts as root
http ALL=(ALL) NOPASSWD: /path/to/wgapi/srv/send/ssl
http ALL=(ALL) NOPASSWD: /path/to/wgapi/srv/send/wg