Problems with OpenVPN+routing and creating tun0 interface

Václav Haisman V.Haisman at sh.cvut.cz
Fri Sep 22 05:41:48 PDT 2006


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 542 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20060922/a1ef8ba7/signature.pgp


More information about the freebsd-stable mailing list