ipfw fwd on FreeBSD 8.1, does it work? [SOLVED]
Unga
unga888 at yahoo.com
Wed Jul 6 14:09:48 UTC 2011
--- On Wed, 7/6/11, Andrey V. Elsukov <bu7cher at yandex.ru> wrote:
> From: Andrey V. Elsukov <bu7cher at yandex.ru>
> Subject: Re: ipfw fwd on FreeBSD 8.1, does it work?
> To: "Unga" <unga888 at yahoo.com>
> Cc: freebsd-ipfw at freebsd.org, "Fabian Wenk" <fabian at wenks.ch>
> Date: Wednesday, July 6, 2011, 1:51 AM
> On 05.07.2011 21:20, Unga wrote:
> > Thanks for the reply.
> >
> > The 'options IPFIREWALL_FORWARD' is already built in
> the custom kernel.
> >
> > Both rules you suggested develop the same error:
> > ipfw: getsockopt(IP_FW_ADD): Invalid argument
>
> Hi,
>
> You should add 'options IPFIREWALL' in the your kernel
> config too.
>
> --
> WBR, Andrey V. Elsukov
>
Hi Andrey
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-ipfw
mailing list