Remember user name and password 2.7.1

How to customize and extend your OpenVPN installation.
OpenVpn Newbie
Posts: 2
Joined: Wed Oct 30, 2019 9:02 pm

Remember user name and password 2.7.1

Post by queshaw » Thu Oct 31, 2019 1:19 am

In openvpn connect, how can I store username and password so that openvpn connects on startup?

I've tried suggestions, none have worked (askpass/auth-user-pass). The file with password or username and password has CRLF line endings.

What do I need to do?

User avatar
Forum Team
Posts: 265
Joined: Wed Nov 26, 2008 10:33 pm
Location: Minneapolis, MN

Re: Remember user name and password 2.7.1

Post by ecrist » Fri Nov 01, 2019 11:52 am


This forum is for support of the open source version of OpenVPN. If you're using Private Tunnel or OpenVPN AS, please contact their customer service.
OpenVPN Community Administrator
IRC: #openvpn, #openvpn-devel Twitter: @ecrist
Co-Author of Mastering OpenVPN
Author of Troubleshooting OpenVPN