[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
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 127.0.0.1 9999
management-query-passwords
-----------------

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 127.0.0.1 9999
goto end

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

(Please remember, nc.exe is notorius)


Regs

Sunil


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

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
https://lists.sourceforge.net/lists/listinfo/openvpn-users


______________________
OpenVPN mailing lists
https://lists.sourceforge.net/lists/listinfo/openvpn-users