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