ipfw: getsockopt(IP_FW_ADD): Invalid argument

Unga unga888 at yahoo.com
Wed Jul 6 14:14:09 UTC 2011



--- On Tue, 7/5/11, Ian Smith <smithi at nimnet.asn.au> wrote:

>  > Does anybody successfully use the "ipfw fwd"? If so
> in which FreeBSD version?
> 
> Not I, but many do.  On the face of it the rule looks
> correct.  Do you 
> have a TCP service running on localhost:1234 ?  Does
> wlan0 exist?  You 
> may do better posting to the freebsd-ipfw list, with more
> information.
> 
> cheers, Ian

Hi Ian

I have added 'options IPFIREWALL' and rebuilt all, now 'ipfw fwd' works well.

So the 'options IPFIREWALL_FORWARD' alone is insufficient, the 'options IPFIREWALL' is also required.

Thank you and all others who helped me in this regard.

Cheers
Unga


More information about the freebsd-questions mailing list