Manage a community vpn/dns network
 
 
 
 
Go to file
Keith Irwin cfe74158ca
Fixed missing sudo
2022-09-10 16:27:51 -06:00
back Fixed missing sudo 2022-09-10 16:27:51 -06:00
front Moved everything around 2022-08-29 01:04:37 -06:00
.gitignore Moved stuff around 2022-09-07 16:57:52 -06:00
README.md list peers working 2022-08-27 21:25:53 -06:00
docker-compose.yml Added log to docker volume 2022-09-07 19:11:57 -06:00

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