Date: Wed, 9 Feb 2005 22:09:58 +1030 From: "Daniel O'Connor" <doconnor@gsoft.com.au> To: freebsd-stable@freebsd.org Cc: matthias.andree@web.de Subject: Re: tun creation problem with security/openvpn Message-ID: <200502092209.59376.doconnor@gsoft.com.au> In-Reply-To: <200502092204.34194.doconnor@gsoft.com.au> References: <200502092204.34194.doconnor@gsoft.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
--nextPart1458832.fd3JqOcnaU Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wed, 9 Feb 2005 22:04, Daniel O'Connor wrote: > Hi, > I am trying to using openvpn on a 4.x system but it doesn't seem to want = to > create tun devices and I can't make them by hand with ifconfig. > > I've currently worked around it by running PPP first which creates a tun > device but it's a bit difficult to automate properly. > > I've tried this for ifconfig.. > [inchoate 22:01] ~ >sudo ifconfig tun0 create inet 1.2.3.4 > ifconfig: SIOCIFCREATE: Invalid argument > [inchoate 22:02] ~ >sudo ifconfig tun0 create inet 1.2.3.4 4.5.6.7 > ifconfig: SIOCIFCREATE: Invalid argument > [inchoate 22:02] ~ >sudo ifconfig tun0 create > ifconfig: SIOCIFCREATE: Invalid argument > > Anyone got any hints? Ahh I found a work around.. cat /dev/null > /dev/tunN Kind of strange openvpn doesn't open the dev node first though, I'll have a= =20 closer look at it's code.. =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart1458832.fd3JqOcnaU Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBCCfaP5ZPcIHs/zowRAgpXAJsGRdWvzdafRIjoMp9e3TcIqIkcHwCeNjmm Y4t3pYyMXpLLmoG4lBVxVPA= =Wq7q -----END PGP SIGNATURE----- --nextPart1458832.fd3JqOcnaU--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502092209.59376.doconnor>