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

[Openvpn-users] small feature suggestion



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

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users