Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Sep 2006 13:55:35 +0100
From:      Dominic Marks <dom@helenmarks.co.uk>
To:        =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= <V.Haisman@sh.cvut.cz>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Problems with OpenVPN+routing and creating tun0 interface
Message-ID:  <4513DD47.4030902@helenmarks.co.uk>
In-Reply-To: <4513D9F7.4050606@sh.cvut.cz>
References:  <4513D9F7.4050606@sh.cvut.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
Václav Haisman wrote:
> Hi,
> I want to set up OpenVPN to create and configure tun0 interface and
> connect to OpenVPN server. The main obstacle seems to be my inability to
> configure either OpenVPN or FreeBSD to actually create that tun0 interface.
> 
> If I try to create it manually I get this:
> 
> $ ifconfig -v tun create inet 192.168.23.203 192.168.23.1
> ifconfig: SIOCIFCREATE: Invalid argument
> 
> The kernel config has the "device tun" line and there are tun[0-3] in /dev.
> 
> So what am I doing wrong?
> 
> --
> Vaclav Haisman
> 

I always let OpenVPN create them for me. Just starting the openvpn process
seems to do the magic. What happens when you try and do that?

Thanks,
Dominic



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4513DD47.4030902>