From owner-freebsd-questions@FreeBSD.ORG Tue Apr 3 15:59:42 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5DA9216A406 for ; Tue, 3 Apr 2007 15:59:42 +0000 (UTC) (envelope-from tlt@tltodd.com) Received: from tltodd.com (tltodd.com [64.80.250.209]) by mx1.freebsd.org (Postfix) with ESMTP id 4A97F13C487 for ; Tue, 3 Apr 2007 15:59:41 +0000 (UTC) (envelope-from tlt@tltodd.com) Received: (from tlt@localhost) by tltodd.com (8.9.3/8.9.3) id KAA99154 for freebsd-questions@freebsd.org; Tue, 3 Apr 2007 10:58:41 -0500 (CDT) (envelope-from tlt) Date: Tue, 3 Apr 2007 10:58:41 -0500 From: Terry Todd To: freebsd-questions@freebsd.org Message-ID: <20070403105841.A98763@badger.tltodd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Subject: ipfw fwd not working in 6.2-release X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Apr 2007 15:59:42 -0000 I have tried to get ipfw fwd to work in 6.2-release but it always barfs. I have recompiled and installed a custom kernel with options IPFIREWALL_FORWARD and I have added to the /etc/sysctl.conf file: net.inet.ip.forwarding=1 Here's the rule that I'm trying to get to work. $fwcmd add forward 127.0.0.1,3128 tcp from not me to any 80 in via ${iif} When I run it I get: ipfw: getsockopt(IP_FW_ADD): Invalid argument All the other rules I have work fine. Am I doing something wrong here? Anyone else see this behaviour? TIA, Terry Todd