Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Sep 2006 14:41:27 +0200
From:      =?UTF-8?B?VsOhY2xhdiBIYWlzbWFu?= <V.Haisman@sh.cvut.cz>
To:        freebsd-stable@freebsd.org
Subject:   Problems with OpenVPN+routing and creating tun0 interface
Message-ID:  <4513D9F7.4050606@sh.cvut.cz>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEVAwUBRRPaAkNOZDESBK8FAQLmUAf/dr0IcqG/cZwDCoecRZby50e/NnwK6BDe
T90b7Z+tcFjOP7J1x0Hf613Zehy/3dXfrJY9kQqK9vnAD0wZIDRrxUMfg434Wkek
6EjZp6oSwZpWghja1GegBnW+u4XaL8yZhbmL1tV9cLzON9EFradikjzvtGGHQ+Ec
mAzsUIWwUKmTnek5fHhHL+rbd3DaqSOysQIfP4gyylNP0lfVpZ7zEoQboceyBhKq
AM7NTsqVJjBFSKMIpICe9xIMm/+TKEmx70J5OvKb6wTCuX8r32SgWPMYM86iBECk
bpRdVMuFsiIytzUxoUGvLfZDMccfVCLUXjbKPj60GKZSGgU3HFghzw==
=8nbn
-----END PGP SIGNATURE-----

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