Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to use OpenVPN without login and password

📅 2016-Feb-26 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

It can be cumbersome to type in the login and password every time you connect using OpenVPN. It has a feature named auth-user-pass where you can provide the login and password in a file.

auth-user-pass /path/to/file

Tried with: OpenVPN 2.3.7 and Ubuntu 15.10