From: Nathanael Rensen Message-ID: Mime-Version: 1.0 Subject: [Openvpn-devel] tap support for freebsd Sender: openvpn-devel-admin@lists.sourceforge.net Errors-To: openvpn-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Date: Thu Feb 19 21:17:04 2004 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: openvpn-devel@lists.sourceforge.net I have been attempting to use 1.6_beta6 and found that support for the tap device wasn't working on FreeBSD 5.1. I discovered it worked fine on FreeBSD 5.1 with 1.6_beta1. I believe that it is necessary to conditionalise the write_tun and read_tun functions (tun.c) in the same way as has been done for openbsd so that the protocol uint32 is only prepended for tun devices. At least, with that change, both tun and tap support work fine under FreeBSD 5.1 for me. Thanks for a superb product! Nathanael