ipfw me6 forward

Andrey V. Elsukov bu7cher at yandex.ru
Wed Mar 12 22:09:17 PDT 2008

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

More information about the freebsd-current mailing list