Manage a community vpn/dns network
 
 
 
 
Go to file
Keith Irwin bfd71dfade
Debug delete peer from dash
2022-10-20 14:03:54 -06:00
back Set rxfr requests for all admin stuff 2022-10-20 12:39:19 -06:00
front Debug delete peer from dash 2022-10-20 14:03:54 -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 Added todo list 2022-10-20 14:00:03 -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