Date: Thu, 5 Apr 2007 08:42:08 -0500 From: Terry Todd <tlt@badger.tltodd.com> To: freebsd-questions@freebsd.org Subject: Re: ipfw fwd not working in 6.2-release Message-ID: <20070405084208.A4130@badger.tltodd.com> In-Reply-To: <20070403105841.A98763@badger.tltodd.com>; from tlt@badger.tltodd.com on Tue, Apr 03, 2007 at 10:58:41AM -0500 References: <20070403105841.A98763@badger.tltodd.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I tried this on a second machine and it does the same thing. ipfw: getsockopt(IP_FW_ADD): Invalid argument Could someone try running this on a 6.2-RELEASE system and tell me what you get: # ipfw add forward 127.0.0.1,3128 tcp from not me to any 80 in via [interface device] Thanks, Terry Todd On Tue, Apr 03, 2007 at 10:58:41AM -0500, Terry Todd wrote: > > 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 > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070405084208.A4130>