Jamie- / openvpn-api

A Python API for the OpenVPN management interface.
MIT License
60 stars 18 forks source link

Feature Request: Give config file and credentials #29

Open thethinker990 opened 3 years ago

thethinker990 commented 3 years ago

Hi,

in the CLI-version of openvpn it is possible to pass a config file and credentials:

openvpn --config ".\server.ovpn" --auth-user-pass ".\credentials" --auth-nocache

In credentials (line 1+2)

username
password

Is it possible to put this into the API?

Avnsx commented 2 years ago

Yeah definetly would need this, I was looking forward to being able to do it like this to connect to ipvanish servers, repo is kinda missing the point without this

MohammadRaziei commented 1 year ago

I need it plus I want to support that enter OTP automatically using secret key