Manage a community vpn/dns network
 
 
 
 
Go to file
Keith Irwin 16acd0987f
Added check to see that federated server is in servers file
2022-12-03 17:16:33 -07:00
back Added check to see that federated server is in servers file 2022-12-03 17:16:33 -07:00
etc Completely replaced logfile with stderr 2022-12-03 17:07:03 -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 Completely replaced logfile with stderr 2022-12-03 17:07:03 -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