Manage a community vpn/dns network
 
 
 
 
Go to file
Keith Irwin 62aade7f41
Removed useless use of cat
2022-12-03 18:33:30 -07:00
back Removed useless use of cat 2022-12-03 18:33:30 -07:00
etc Removed TOKENS_FILE and LIB_DIR from config 2022-12-03 18:30:14 -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 Removed extraneous checks and some cleanup 2022-12-03 18:23:13 -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