Include username and psswd in the config file

This forum is for all inquiries relating to the installation of OpenVPN from source and with binaries.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please visit (and READ) the OpenVPN HowTo http://openvpn.net/howto prior to asking any questions in here!
Post Reply
pmcarrion
OpenVpn Newbie
Posts: 1
Joined: Thu Jan 07, 2010 6:20 am

Include username and psswd in the config file

Post by pmcarrion » Thu Jan 07, 2010 6:24 am

Can I include the username and password in the config file so I don´t have to enter it manually?

User avatar
ecrist
Forum Team
Posts: 237
Joined: Wed Nov 26, 2008 10:33 pm
Location: Northern Minnesota, USA
Contact:

Re: Include username and psswd in the config file

Post by ecrist » Thu Jan 07, 2010 3:37 pm

This capability exists, but only if the copy of openvpn you are using was specifically compiled with that option. The following mailing list thread may further answer your question: http://openvpn.net/archive/openvpn-user ... 00272.html
OpenVPN Community Administrator
IRC: #openvpn, #openvpn-devel
Co-Author of Mastering OpenVPN
Author of Troubleshooting OpenVPN

Oral Deckard
OpenVpn Newbie
Posts: 7
Joined: Wed Aug 25, 2010 8:29 pm

Re: Include username and psswd in the config file

Post by Oral Deckard » Thu Aug 26, 2010 1:32 pm

A much better way to do it would be to generate a new key without a password. If you put a password in a text file it is a security issue.

Post Reply