On Fri, Apr 21, 2000 at 06:46:38PM +0300, [EMAIL PROTECTED] wrote:
>
> Hello..
>
> After I upgraded another server of ours, which does natd between two
> NIC's, trying to activate it yields:
>
> root@fw :/tmp# ipfw add 50 divert natd all from any to any via xl1
> 00050 divert 8668 ip from any to any via xl1
> ipfw: setsockopt(IP_FW_ADD): Invalid argument
>
> What is wrong???
>
You need to compile your kernel with IPFIREWALL and IPDIVERT.
ipfw.ko (KLD version) will not work, since it does not have
divert(4) bits compiled in by default.
--
Ruslan Ermilov Sysadmin and DBA of the
[EMAIL PROTECTED] United Commercial Bank,
[EMAIL PROTECTED] FreeBSD committer,
+380.652.247.647 Simferopol, Ukraine
http://www.FreeBSD.org The Power To Serve
http://www.oracle.com Enabling The Information Age
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-stable" in the body of the message