Manage a community vpn/dns network
 
 
 
 
Go to file
Keith Irwin 516158a0a9
Updated checklist
2022-12-04 08:54:07 -07:00
back Shellcheck, added server secret checks, removed double-quotes from library file calls 2022-12-04 08:53:22 -07:00
etc Shellcheck, added server secret checks, removed double-quotes from library file calls 2022-12-04 08:53:22 -07:00
front self.token doesn't need to be observable 2022-11-07 18:54:11 -07:00
.gitignore Moved env vars away from Dockerfiles 2022-11-07 14:53:23 -07:00
README.md list peers working 2022-08-27 21:25:53 -06:00
checklist.md Updated checklist 2022-12-04 08:54:07 -07:00
docker-compose.yml Fixed log location 2022-12-03 16:54:48 -07: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