Gentoo Archives: gentoo-user

From: John Jolet <john@×××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] openvpn multiple tunnels
Date: Thu, 27 Apr 2006 19:10:20
Message-Id: 200604271528.29140.john@jolet.net
In Reply to: Re: [gentoo-user] openvpn multiple tunnels by Manuel McLure
1 > What you need to do is create a <tunnelname>.conf file for your second
2 > tunnel, and then link /etc/init.d/openvpn to /etc/init.d/<tunnelname>.
3 > Then you can start the second tunnel with either "/etc/init.d/<tunnelname>
4 > start", or by using rc-update to add <tunnelname> to the runlevel of your
5 > choice. For example:
6 >
7 > cp /etc/openvpn/openvpn.conf /etc/openvpn/homevpn.conf
8 > vi /etc/openvpn/homevpn.conf
9 > ln -s openvpn /etc/init.d/homevp
10 > rc-update add homevpn default
11 > /etc/init.d/homevpn start
12 ah! okay, so it works kinda like the net.eth0 link to net.lo, then? i'd seen
13 that about creating a link, but i couldn't figure out where that was
14 happening. thanks SO much
15 --
16 gentoo-user@g.o mailing list