Manage a community vpn/dns network
 
 
 
 
Go to file
Keith Irwin cf66502def
Removed debugging; working
2022-10-20 14:15:59 -06:00
back Removed debugging; working 2022-10-20 14:15:59 -06:00
front Debug delete peer from dash 2022-10-20 14:13:34 -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 Removed debugging; working 2022-10-20 14:15:59 -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