Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Oct 2007 16:54:49 +0400
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        randy@psg.com
Cc:        freebsd-net@freebsd.org
Subject:   Re: ipfw nat befuddlement
Message-ID:  <654641191761689@webmail30.yandex.ru>
In-Reply-To: 1550000000223575699
References:  1550000000223575699

next in thread | raw e-mail | index | archive | help
> i386 current
> # grep -n nat /etc/ipfw.rules
> 33:add nat 42 all from any to any
> 34:add nat 42 config if vr0 same_ports unreg_only
> # ipfw -q /etc/ipfw.rules
> Line 33: getsockopt(IP_FW_ADD): Invalid argument
> kernel has
> options         IPFIREWALL
> options         IPFIREWALL_VERBOSE      #enable logging to syslogd(8)
> options         IPFIREWALL_VERBOSE_LIMIT=100    #limit verbosity
> options         IPDIVERT
> options         LIBALIAS

You need also:
options         IPFIREWALL_NAT          #ipfw kernel nat support

--
WBR, Andrey V. Elsukov



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