[leaf-user] Openvpn multiple instances

2010-10-01 Thread bob
Hello leaf list, I have LEAF running on a WRAP box using shorewall openvpn. We need to be able to serve udp tcp openvpn for proxying reasons. The 'standard' openvpn can be configured usin 2 '.opvn' config files. How does this work on the LEAF package? The config file is called server.conf, I

Re: [leaf-user] Openvpn multiple instances

2010-10-01 Thread Juergen Northe
Hi Robert, take a look into /etc/init.d/openvpn : CONFIG_DIR=/etc/openvpn .. AUTOSTART=all .. .. if test -z $AUTOSTART -o x$AUTOSTART = xall ; then # all VPNs shall be started automatically for CONFIG in `cd $CONFIG_DIR; ls *.conf 2 /dev/null`; do NAME=${CONFIG%%.conf}

Re: [leaf-user] Openvpn multiple instances

2010-10-01 Thread Graziano Brioschi
give a look in /etc/default/openvpn for AUTOSTART variabile graziano Il 01/10/2010 12.30, bob ha scritto: Hello leaf list, I have LEAF running on a WRAP box using shorewall openvpn. We need to be able to serve udp tcp openvpn for proxying reasons. The 'standard' openvpn can be configured

Re: [leaf-user] Openvpn multiple instances

2010-10-01 Thread Trev Peterson
Hey Robert, Not sure what your configuration is but what I've done for a client is just copy /etc/openvpn to /etc/openvpn2 and /etc/init.d/openvpn to /etc/init.d/openvpn2. You need to make a few changes in the various files for the new locations but then you have 2 independently controlled

Re: [leaf-user] leaf-user Digest, Vol 47, Issue 3

2010-10-01 Thread bob
Thanks for the replies, I had, eventually, found the /etc/default/openvpn AUTOSTART=all parameter (and fixed it up) about 1 minute before your replies ;=). Works fine, with 2 instances now. Many thanks for the help, Robert