Re: [Openvpn-devel] [PATCH]: add config-variables to OpenVPN-1.3.2

2003-03-11 Thread James Yonan
Christian, Rather than put a lot of scripting language infrastructure into OpenVPN's config file parser, why not just use a shell script, i.e.: openvpn --dev-name vpn_${CUSTNO} \ --port 5${CUSTNO} \ --ifconfig 10.0.0.1 10.0.${CUSTNO}.1 \ --dev-type tun \

[Openvpn-devel] [PATCH]: add config-variables to OpenVPN-1.3.2

2003-03-11 Thread ZLS Software GmbH
Hi, Jim, here is another one: I've added variable-expandion to config-values and the keywords "set" and "unset". With this technique you can easily split configuration of one peer across two files: one with the specific and one with the common config values in a way that can help to minimize