Problems with OpenVPN+routing and creating tun0 interface

Dominic Marks dom at helenmarks.co.uk
Fri Sep 22 05:55:40 PDT 2006


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


More information about the freebsd-stable mailing list