Manage (CRUD) OpenVPN servers / clients over REST API. This POC project was created and presented in 48 hours, under project Riigikaitse Häkaton of 2020 and is not maintained onwards.
- Ruby 2.5.5 with bundler
- PostgreSQL database
- OpenVPN server
- Please take a look at config/application.yml to define OpenVPN internal paths.
- Please take a look at db/database.yml to define database connection
- Run bundle in root directory of project
- Run rails db:setup in root directory of project
- Run rails s to start the project at http://localhost:3000
Get all servers in openVPN config
Show server information for UUID 1
Get all VPN clients of server
Get all data about VPN server's specific client
Create new server.
Create new client for server
Start openVPN server
Stop openvVPN server
Download VPN client .ovpn profile