Re: how to enable one more tun in openbsd

From: Mailman (mailman_at_anonymous.org)
Date: 05/19/04


Date: Wed, 19 May 2004 17:59:14 +0200

Thorsten Glaser wrote:

> Dixitur illum samwun@hgcbroadband.com scribere...
>
>> The ifconfig -a shown that there is only one tun (tun0) turnned on when
>> the system started up. How can I configure the OpenBSd system (in 3.5) to
>> enable another tun device?
>
> man ifconfig
>
> You can just create /etc/hostname.tun1 as well...
>
> //Thorsten

You may need to recompile your kernel - there is a parameter for the number
of supported tun devices. ifconfig will not "create" a device beyond this
limit.

-- 
Mailman


Relevant Pages

  • How to destroy tun device (created by ssh -w)?
    ... I've tun devices created via "ssh -w". ... Sometimes, the connection is ... broken in a way that leaves the tun device around. ... But ifconfig does show it, ...
    (comp.os.linux.networking)
  • Re: how to enable one more tun in openbsd
    ... >>man ifconfig ... > You may need to recompile your kernel - there is a parameter for the number ... How about adding a bridge device while keeping the IP device running at ...
    (comp.unix.bsd.openbsd.misc)
  • Re: How to create tun* in 5.2 CURRENT
    ... > kernel and rebootthe system. ... If you open another tun device, ...
    (comp.unix.bsd.freebsd.misc)