From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 14:14:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 580091065670 for ; Wed, 6 Jul 2011 14:14:09 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from nm17-vm0.bullet.mail.bf1.yahoo.com (nm17-vm0.bullet.mail.bf1.yahoo.com [98.139.213.157]) by mx1.freebsd.org (Postfix) with SMTP id E6EF68FC19 for ; Wed, 6 Jul 2011 14:14:08 +0000 (UTC) Received: from [98.139.212.151] by nm17.bullet.mail.bf1.yahoo.com with NNFMP; 06 Jul 2011 14:14:07 -0000 Received: from [98.139.212.209] by tm8.bullet.mail.bf1.yahoo.com with NNFMP; 06 Jul 2011 14:14:07 -0000 Received: from [127.0.0.1] by omp1018.mail.bf1.yahoo.com with NNFMP; 06 Jul 2011 14:14:07 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 932715.79422.bm@omp1018.mail.bf1.yahoo.com Received: (qmail 9164 invoked by uid 60001); 6 Jul 2011 14:14:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1309961647; bh=lodWye/jtGr/I0OB92fDfR0jrATxGLJGDuIcOJQY32E=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=URPfP7axbzzu0cVs3zdvYtVDhq6+EC4atuRPeBLU4uYAX6xjpB079ZrjHih197KzWg9nOYa27nERbXITgHjZTwi3uP7pwPZRhoyLsQrwSGsTII/Dpbnu+L/VascKRu48l7pae5JYzNvy6lEe4cARFgFa0IKzOgQnt6jVDHahquQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=stYWcsYWUb/SUJr4Mgj3/bZvr4UyNhdmYl4zfoLemYKJY8EINyyM+q18BFNLQe/wjnUQ35LoBExhIDhWI/H0ZuMkzQSdnZhMdbGWRtb112iXzvxiHzy4x/2/+vQX7+JMMnuzHlA5w40NW0/xvwSTZcqvRSVaAjjFl5df+D3RkEg=; X-YMail-OSG: 2LyLrv8VM1ngogtV559ArP_i4w.fO5SzNpjvHjw_fX34zms EIEivk3Oz2DJRZjacCdCoxm9BercWj0lSKlsGtxaR0RnCHIuVE6l15it95EE LZ5zjpPQKp9dTw6infBm.IuvHYZfNuoZ9WPaOp2mlYE4_AYYLuEXIKys7pmT 68uCLcE3668Lva6DE0wgKbxMChK1RW6pr0gH8juuiufLziq9QkBdXnluHmlX 0czggFtKpn4KJ7CfT.2fVFbhw2erv.7uKikSqjHeJ_uVbbpQpjQlwEUOId.R jQFPgcQjUBKCfg8HnsDA713UyaxwXEUUYLYW06MmoNpAfsyaVqqk3FidMIe8 bjlrQdjTcCO4CcBaKJ7J8o93.96D96PN_amQ9Ru91ZWky8bQKY4WoLZJ8vCQ OfkXfTHtioM6txCWJqQ-- Received: from [112.134.100.26] by web160105.mail.bf1.yahoo.com via HTTP; Wed, 06 Jul 2011 07:14:07 PDT X-Mailer: YahooMailClassic/14.0.3 YahooMailWebService/0.8.112.307740 Message-ID: <1309961647.1837.YahooMailClassic@web160105.mail.bf1.yahoo.com> Date: Wed, 6 Jul 2011 07:14:07 -0700 (PDT) From: Unga To: Ian Smith In-Reply-To: <20110705184236.U84785@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: ipfw: getsockopt(IP_FW_ADD): Invalid argument 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: Wed, 06 Jul 2011 14:14:09 -0000 =0A=0A--- On Tue, 7/5/11, Ian Smith wrote:=0A=0A> >= Does anybody successfully use the "ipfw fwd"? If so=0A> in which FreeBSD v= ersion?=0A> =0A> Not I, but many do.=A0 On the face of it the rule looks=0A= > correct.=A0 Do you =0A> have a TCP service running on localhost:1234 ?=A0= Does=0A> wlan0 exist?=A0 You =0A> may do better posting to the freebsd-ipf= w list, with more=0A> information.=0A> =0A> cheers, Ian=0A=0AHi Ian=0A=0AI = have added 'options IPFIREWALL' and rebuilt all, now 'ipfw fwd' works well.= =0A=0ASo the 'options IPFIREWALL_FORWARD' alone is insufficient, the 'optio= ns IPFIREWALL' is also required.=0A=0AThank you and all others who helped m= e in this regard.=0A=0ACheers=0AUnga