Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Nov 2008 00:25:23 +0100 (CET)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Tom Marchand <m0rchand@comcast.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: IPFW Rule
Message-ID:  <20081122002501.P3638@wojtek.tensor.gdynia.pl>
In-Reply-To: <6B2C3766-25F4-454F-9597-12186B564060@comcast.net>
References:  <6B2C3766-25F4-454F-9597-12186B564060@comcast.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> I am trying to add a IPFW rule to forward traffic but I keep getting the 
> message "ipfw: getsockopt(IP_FW_ADD): Invalid argument".  The rule I am 
> trying to add looks like this:
>
> ipfw add 600 fwd 192.169.2.3, 6000 tcp from 192.169.2.3 to any 80
>
> I do have IP Forwarding enabled.  Any ideas what I am doing wrong?

rule looks OK, but your message clearly suggest you DO NOT have IP 
forwarding enabled



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081122002501.P3638>