Simple extension for OpenVPN providing HTTP interface for .ovpn
file generation.
- Copy config sample
cp config.yml.sample config.yml
. Configure it:- Set CA private key passphrase with
ca_private_key_pass
parameter; - Set port HTTP API will run on with
server.port
parameter.
- Set CA private key passphrase with
- Follow this manual for initial OpenVPN config
- Run all the stuff with
docker-compose up --build -d
- Try
curl -X POST localhost:<your_port>/ovpn-config?clientId=new_client&password=new_password