Manages the VPN: creates certificates for the clients, renew and revoke, prepares the OpenVPN and firewall configuration on the server based on the status of the database. Management is done using a JSON REST API.
Go to file
root ae7f532c23 removed test ipv6 address 2021-03-07 13:52:10 +01:00
easy-rsa@a9cecc747c second commit 2021-01-24 23:29:37 +01:00
templates removed test ipv6 address 2021-03-07 13:52:10 +01:00
.gitignore first commit 2021-01-06 11:07:44 +01:00
.gitmodules second commit 2021-01-24 23:29:37 +01:00
Dockerfile docker image creation 2021-03-06 16:16:35 +01:00
README.md typo fix 2021-03-06 17:24:29 +01:00
main.py fixed wrong ip address 2021-03-06 20:10:38 +01:00
requirements.txt removed fake dummy dependency which breaks cross-distribution compatibility 2021-03-06 15:50:34 +01:00

README.md

VPN GOLEM

REST API endpoints

endpoint method body description
/users GET get list of users
/users POST { "name": "johndoe" } create new user
/gateways GET get list of gateways
/gateways POST { "name": "fqdn.domain.tld", "user": "johndoe" } create new gateway for user
/gateway/$fqdn GET get info about gateway
/gateway/$fqdn DELETE delete gateway
/gateway/$fqdn/config GET get client config file for gateway