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
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig5749E36FB073085A23BB8DFA
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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 interfac=
e.

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 /de=
v.

So what am I doing wrong?

--
Vaclav Haisman


--------------enig5749E36FB073085A23BB8DFA
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----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-----

--------------enig5749E36FB073085A23BB8DFA--



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