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}
        start_vpn
      done


Autostart has to be set to "all" and the config files in
"/etc/openvpn" have to end with ".conf" .

This information is from ver 3.1 but should also work with later releases.



2010/10/1 bob <b...@vknobloch.de>:
> 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 tried to add a 'server2.conf'
> but see that it is not parsed.
> '.ovpn' files also don't get parsed, how can I achieve 2 servers, both
> on the standard port, one TCP and the other UDP ?
> Cheers,
>
> Robert
>
> ------------------------------------------------------------------------------
> Start uncovering the many advantages of virtual appliances
> and start using them to simplify application deployment and
> accelerate your shift to cloud computing.
> http://p.sf.net/sfu/novell-sfdev2dev
> ------------------------------------------------------------------------
> leaf-user mailing list: leaf-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/leaf-user
> Support Request -- http://leaf-project.org/
>



-- 



mit freundlichem Gruss
Jürgen Northe

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
------------------------------------------------------------------------
leaf-user mailing list: leaf-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/leaf-user
Support Request -- http://leaf-project.org/

Reply via email to