ipfw fwd on FreeBSD 8.1, does it work?

Unga unga888 at yahoo.com
Tue Jul 5 18:22:38 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

Thank you for the reply.

ipfw(8) man page for 'fwd' shows to add only the IPFIREWALL_FORWARD.

I'll add the 'options IPFIREWALL' also and rebuild all and give it a try again and let the list know the outcome.

Thanks everyone again.

Unga




More information about the freebsd-ipfw mailing list