Re: [gentoo-user] openvpn multiple tunnels

2006-04-27 Thread Manuel McLure
 Used to be you could have multiple tunnels open with vpn.  when it changed
 to
 require /etc/openvpn/openvpn.conf, instead of launching all the tunnels, i
 can no longer figure out how to open multiple tunnels.  the docs seem to
 mention an /etc/conf.d/openvpn file, but that didn't get created on my
 system
 and i can't find any reference to the format/options.  can someone point
 me
 to a readme or howto on how to start a particular tunnel?

What you need to do is create a tunnelname.conf file for your second
tunnel, and then link /etc/init.d/openvpn to /etc/init.d/tunnelname.
Then you can start the second tunnel with either /etc/init.d/tunnelname
start, or by using rc-update to add tunnelname to the runlevel of your
choice. For example:

cp /etc/openvpn/openvpn.conf /etc/openvpn/homevpn.conf
vi /etc/openvpn/homevpn.conf
ln -s openvpn /etc/init.d/homevpn
rc-update add homevpn default
/etc/init.d/homevpn start

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] openvpn multiple tunnels

2006-04-27 Thread John Jolet

 What you need to do is create a tunnelname.conf file for your second
 tunnel, and then link /etc/init.d/openvpn to /etc/init.d/tunnelname.
 Then you can start the second tunnel with either /etc/init.d/tunnelname
 start, or by using rc-update to add tunnelname to the runlevel of your
 choice. For example:

 cp /etc/openvpn/openvpn.conf /etc/openvpn/homevpn.conf
 vi /etc/openvpn/homevpn.conf
 ln -s openvpn /etc/init.d/homevp
 rc-update add homevpn default
 /etc/init.d/homevpn start
ah!  okay, so it works kinda like the net.eth0 link to net.lo, then?  i'd seen 
that about creating a link, but i couldn't figure out where that was 
happening.  thanks SO much
-- 
gentoo-user@gentoo.org mailing list