Manage a community vpn/dns network
 
 
 
 
Go to file
Keith Irwin 09a4b2fcf9
Added code to add to federated server to dashboard add peer
2022-12-03 15:05:18 -07:00
back Added code to add to federated server to dashboard add peer 2022-12-03 15:05:18 -07:00
etc Cleaned up env file 2022-11-07 16:27:04 -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 Cleaned up exit codes 2022-11-08 21:05:34 -07:00
docker-compose.yml Added initial federation code 2022-11-27 16:00:43 -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