From owner-freebsd-net@FreeBSD.ORG Sun Oct 7 12:37:14 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF5A216A41B for ; Sun, 7 Oct 2007 12:37:14 +0000 (UTC) (envelope-from randy@psg.com) Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by mx1.freebsd.org (Postfix) with ESMTP id 7BE9F13C4A7 for ; Sun, 7 Oct 2007 12:37:14 +0000 (UTC) (envelope-from randy@psg.com) Received: from [202.214.86.181] by rip.psg.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67 (FreeBSD)) (envelope-from ) id 1IeVNg-000K4y-TI for freebsd-net@freebsd.org; Sun, 07 Oct 2007 12:37:13 +0000 Message-ID: <4708D2EE.4010405@psg.com> Date: Sun, 07 Oct 2007 21:37:02 +0900 From: Randy Bush User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: FreeBSD Net X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: ipfw nat befuddlement X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Oct 2007 12:37:14 -0000 i386 current # grep -n nat /etc/ipfw.rules 33:add nat 42 all from any to any 34:add nat 42 config if vr0 same_ports unreg_only # ipfw -q /etc/ipfw.rules Line 33: getsockopt(IP_FW_ADD): Invalid argument kernel has options IPFIREWALL options IPFIREWALL_VERBOSE #enable logging to syslogd(8) options IPFIREWALL_VERBOSE_LIMIT=100 #limit verbosity options IPDIVERT options LIBALIAS # kldstat Id Refs Address Size Name 1 3 0xc0400000 38b278 kernel 2 1 0xc27d8000 8000 if_bridge.ko 3 1 0xc27e0000 5000 bridgestp.ko whack me with a clue bat, please randy