On Thu, Feb 14, 2008 at 09:51:43AM +0100, Armin Fuerst wrote:
> Package: openvpn
> Version: 2.0.9-4eth1
> Severity: wishlist
>
> Having a way of configuring which tunnels to start at startup
> depending on IP-subnets would be nice. For example I automatically
> start a tunnel to my company when I'm using my laptop, but when
> I'm in the office, openvpn tries to connect to the tunnel also.
> Having the tunnel active by default is fine for me, if I don't
> have an address from the subnet 192.168.0.0/24 or 192.168.1.0/24.
> This config should exist for every tunnel config (I may want to connect
> to a customer even when I'm in the office).


Hi, you can use the 'openvpn' option in the /etc/network/interfaces.
i.e.

iface foobar inet dhcp
        openvpn inittab
        test-peer address 172.22.4.1 mac 00:0B:46:00:3E:00

Regards,

Alberto

-- 
Alberto Gonzalez Iniesta    | Formación, consultoría y soporte técnico
agi@(inittab.org|debian.org)| en GNU/Linux y software libre
Encrypted mail preferred    | http://inittab.com

Key fingerprint = 9782 04E7 2B75 405C F5E9  0C81 C514 AF8E 4BA4 01C3



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to