Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Apr 2000 19:01:15 +0300
From:      Ruslan Ermilov <ru@ucb.crimea.ua>
To:        noor@comrax.com
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Re: natd with 4.0-STABLE.
Message-ID:  <20000421190115.A1125@relay.ucb.crimea.ua>
In-Reply-To: <Pine.BSF.4.10.10004211845280.29388-100000@dns.comrax.com>; from noor@comrax.com on Fri, Apr 21, 2000 at 06:46:38PM %2B0300
References:  <Pine.BSF.4.10.10004211845280.29388-100000@dns.comrax.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 21, 2000 at 06:46:38PM +0300, noor@comrax.com 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
ru@ucb.crimea.ua	United Commercial Bank,
ru@FreeBSD.org		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 majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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