jamesmcm / vopono

Run applications through VPN tunnels with temporary network namespaces
GNU General Public License v3.0
886 stars 46 forks source link

How to supply credentials for custom ovpn config #124

Open jramseygreen opened 2 years ago

jramseygreen commented 2 years ago

Hi, I have successfully deployed this tool while using my own setup using nyr's openvpn script on a vps which has no username or password set. If I want to use a custom config which does require a username and password, how do I supply this?

Please could this be added to the userguide? Thanks, and great work!

jramseygreen commented 2 years ago

I now see that it is a simple case of adding the credentials to a plaintext file and using the auth-user-pass flag to point to it.

I still think this should be mentioned in the vopono docs somewhere

jamesmcm commented 2 years ago

Thanks, I'll add this.

097115 commented 2 years ago

Any chance not to have the credentials in plain text file but may be to pass them as an output of some program?