Manage a community vpn/dns network
 
 
 
 
Go to file
Keith Irwin 00ba98143c
www-data should work for now
2022-10-20 19:18:28 -06:00
back www-data should work for now 2022-10-20 19:18:28 -06:00
front Fixed sending token 2022-10-20 18:56:03 -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
checklist.md Set new ssl cert permissions 2022-10-20 19:12:36 -06:00
docker-compose.yml Added volumes to docker-compose 2022-09-15 13:44:08 -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