On Thu, 17 Oct 2002, James Yonan wrote:

> 
> Here is the latest pre-1.3.2 beta that now supports IPv6 over tun on Linux.  
> Please test.  I plan to release 1.3.2 shortly if there are no problems 
> reported.

No problems, just documentation about FreeBSD. Most of this has been
filed as update against FreeBSD's 1.3.0 port.

FreeBSD currently installs tap0...tap3 and tun0...tun3 by default.

The FreeBSD GENERIC kernel has tun support compiled in, no further work
necessary. However, for tap support, the admin must execute "kldload
if_tap" once (or he can recompile and install the kernel after adding
the line "pseudo-device tap").

(kldload is called insmod on Linux, rmmod -> kldunload, lsmod ->
kldstat).

I suggest this patch (against CVS) -- it also includes two whitespace
fixes, so don't copy & paste, but pipe it into patch:

Index: INSTALL
===================================================================
RCS file: /cvsroot/openvpn/openvpn/INSTALL,v
retrieving revision 1.22
diff -u -r1.22 INSTALL
--- INSTALL~    28 Jul 2002 07:54:57 -0000      1.22
+++ INSTALL     18 Oct 2002 23:33:02 -0000
@@ -152,20 +152,35 @@
   openvpn.init script, these steps are taken care of for you.

 * Linux 2.2 or Solaris:
- 
+
   You should obtain
   version 1.1 of the TUN/TAP driver from
   http://vtun.sourceforge.net/tun/
   and follow the installation instructions.

+* FreeBSD 4.1.1+:
+
+  FreeBSD ships with the TUN/TAP driver, and the device nodes for tap0,
+  tap1, tap2, tap3, tun0, tun1, tun2 and tun3 are made by default.
+  However, only the TUN driver is linked into the GENERIC kernel.
+
+  To load the TAP driver, enter: 
+
+       kldload if_tap
+
+  See man rc(8) to find out how you can do this at boot time.
+
+  The easiest way is to install OpenVPN from the FreeBSD ports system,
+  the port includes a sample script to automatically load the tap driver
+  at boot-up time.
+
 * OpenBSD:

   OpenBSD ships with tun0 and tun1 installed by default.

 * Mac OS X:

-  Obtain Christoph Pfisterer's
-  tun driver at
+  Obtain Christoph Pfisterer's tun driver at
   http://chrisp.de/en/projects/tunnel.html

  See the man page for more information, usage examples, and

-- 
Matthias Andree

Reply via email to