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

Re: [Openvpn-users] auth-user-pass


  • Subject: Re: [Openvpn-users] auth-user-pass
  • From: Charles Duffy <cduffy@xxxxxxxxxxx>
  • Date: Fri, 03 Nov 2006 11:15:59 -0600

Please don't attach unrelated messages to old threads. This message was 
posted attached to "Re: how to see a network". If I were ignoring that 
thread, I wouldn't see your message at all; if I were highlighting it, I 
would be annoyed by having your message falsely marked as related. 
Selecting an unrelated message and pressing "Reply" sets headers 
indicating what it's related to, even if you change the subject. Please 
don't do it.

Remus wrote:
> But I have a few remote offices which ones are connect permannetly via linux 
> firewalls with OpenVPN.
> How to automate that not to put username and password by hands?

The man page tells you this: If you compile OpenVPN with 
--enable-password-save, you can specify a file with the username and 
password as an argument to auth-user-pass.

> What is the format of the file which is use by auth-user-pass on client 
> side?

<username> <password>

> Or is it possible to use stdin to pass the username and password?

Not that I know of, though you could certainly use expect (or one of its 
cousins; being a Pythonista, I tend towards pexpect).

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


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-11/msg00029.html on line 201

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-11/msg00029.html on line 201