openvpn-api icon indicating copy to clipboard operation
openvpn-api copied to clipboard

Feature Request: Give config file and credentials

Open thethinker990 opened this issue 3 years ago • 2 comments

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?

thethinker990 avatar Apr 01 '21 14:04 thethinker990

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

Avnsx avatar Jun 22 '22 21:06 Avnsx

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

MohammadRaziei avatar Apr 28 '23 17:04 MohammadRaziei