[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 t

[Openvpn-devel] [PATCH]: add --dev-name - option to OpenVPN-1.3.2

2003-03-11 Thread Christian Lademann
Hi, Jim, attached I send you a patch for your kind review. It adds the capability to change the devicename of the allocated tun device (so far on Linux, only). For example: dev-type tun dev-name vpn_berlin This helps administration a lot, at least from my point of view ;-) Another bit I

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 \