[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Web openvpn.net

Re: [Openvpn-users] --askpass with 2.1_RC4 on Windows

  • Subject: Re: [Openvpn-users] --askpass with 2.1_RC4 on Windows
  • From: "Sunil S" <sunils@xxxxxxxxxx>
  • Date: Mon, 04 Jun 2007 20:15:24 +0530

Hi Richard,

Consider configuring management interface for sending password to OpenVPN - I use that work around.  See : http://openvpn.net/management.html

Have entries like this in your OpenVPN configuration :
management 9999

Then a batch file like the one below could be used :
---------------- Connect.bat
@echo off
c:\prcview\pv.exe OpenVPN.exe
if %errorlevel%==0 goto existing

start /B openvpn MyOpenVPNConfig.ovpn
c:\gnuwin32\sleep.exe 1
c:\ovpn\echo -e "\necho on\nusername Auth MyUserName\npassword Auth MyPassword\n" | nc.exe -w 5 9999
goto end

echo Another instance of OVPN is already active, so I am not starting!
goto end

(Please remember, nc.exe is notorius)



>>> "Richard Hartmann" <richih.nospam@xxxxxxxxxxxxxx> 06/04/07 5:01 PM >>>

I need to use the --askpass option with OpenVPN 2.1_RC4 on Windows.
I wanted to ask if there is a version built with ENABLE_PASSWORD_SAVE
and if yes where one could download it.

Alternatively, I would want to bake my own, but most of the docs and
forum threads I could find  are from 2002 or 2005. Is, for example,
http://openvpn.se/bb/viewtopic.php?t=95 still current?

OpenVPN mailing lists

OpenVPN mailing lists