Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Mar 2008 08:09:12 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Randy Bush <randy@psg.com>
Cc:        current@freebsd.org
Subject:   Re: ipfw me6 forward
Message-ID:  <47D8B6F8.8010203@yandex.ru>
In-Reply-To: <47D8438F.5050706@psg.com>
References:  <47D8438F.5050706@psg.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Randy Bush wrote:
> # ipfw add fwd me6,5222 tcp from any to me6 15222
> ipfw: getsockopt(IP_FW_ADD): Invalid argument
> 
> 
> and, yes, the kernel has the option
> 
> # grep IPF /sys/i386/conf/WORK0
> options         IPFIREWALL_FORWARD

You need "options  IPFIREWALL" too.
Seems you don't have IPFIREWALL compiled into kernel.
Look into `grep ipfw2 /var/run/dmesg.boot`

-- 
WBR, Andrey V. Elsukov



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