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

Re: [Openvpn-users] small feature suggestion


  • Subject: Re: [Openvpn-users] small feature suggestion
  • From: Alex Brett <alex.brett@xxxxxxxxxx>
  • Date: Fri, 04 Feb 2005 14:14:06 +0000

Nik wrote:
Hi All,

I am about to implement a multi-client installation with a mixture of client machines (PC, linux, and maybe even Mac).

One thing I have noticed is that I am having to modify the client script to match the requirements of the platform.

One solution is to keep multiple copies of the client-config file, one per platform.

Another is to build a script that generates or modifies a base script.

My suggestion is to add some form of specifying the pathname to the various TLS files in a single location, and refer to it symbolically. To avoid the issues of pathname separator altogether, one could default the path.

Something like:

set HOME=c:\\Program\ Files\\
ca my-ca.crt
tls-auth tls-auth.crt

would prepend $HOME/ to each file name.

Alternatively:

set HOME=/etc/openvpn
ca $HOME/my-ca.crt
tls-auth $HOME/tls-auth.crt

and just translate '/' to '\\' as required.

Cheers!
Nik


------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Openvpn-users mailing list Openvpn-users@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/openvpn-users


The simple way to do it is just shove the key and certificate files etc in the same directory as the config file, then you don't need to give a path at all, just the file name.


Obviously though there are situations where you will want to store files in different dirs and something like your suggestion would seem a reasonable idea.

Alex Brett
alex.brett@xxxxxxxxxx

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
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/2005-02/msg00084.html on line 220

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/2005-02/msg00084.html on line 220