1 |
> Used to be you could have multiple tunnels open with vpn. when it changed |
2 |
> to |
3 |
> require /etc/openvpn/openvpn.conf, instead of launching all the tunnels, i |
4 |
> can no longer figure out how to open multiple tunnels. the docs seem to |
5 |
> mention an /etc/conf.d/openvpn file, but that didn't get created on my |
6 |
> system |
7 |
> and i can't find any reference to the format/options. can someone point |
8 |
> me |
9 |
> to a readme or howto on how to start a particular tunnel? |
10 |
|
11 |
What you need to do is create a <tunnelname>.conf file for your second |
12 |
tunnel, and then link /etc/init.d/openvpn to /etc/init.d/<tunnelname>. |
13 |
Then you can start the second tunnel with either "/etc/init.d/<tunnelname> |
14 |
start", or by using rc-update to add <tunnelname> to the runlevel of your |
15 |
choice. For example: |
16 |
|
17 |
cp /etc/openvpn/openvpn.conf /etc/openvpn/homevpn.conf |
18 |
vi /etc/openvpn/homevpn.conf |
19 |
ln -s openvpn /etc/init.d/homevpn |
20 |
rc-update add homevpn default |
21 |
/etc/init.d/homevpn start |
22 |
|
23 |
-- |
24 |
gentoo-user@g.o mailing list |