Manage a community vpn/dns network
 
 
 
 
Go to file
Keith Irwin bd79515376
Added sample configs
2022-11-07 15:08:56 -07:00
back Moved sed to one line 2022-11-07 14:55:06 -07:00
etc Added sample configs 2022-11-07 15:08:56 -07:00
front Gave up on that silly QR nonsense 2022-11-07 13:40:30 -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-11-07 12:36:14 -07:00
docker-compose.yml Moved env vars away from Dockerfiles 2022-11-07 14:53:23 -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