From owner-freebsd-questions Mon Feb 14 11:35:27 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mail.xtrafast.com (mail.xtrafast.com [64.27.1.6]) by builder.freebsd.org (Postfix) with ESMTP id 42CDF3FC9 for ; Mon, 14 Feb 2000 11:35:25 -0800 (PST) Received: from adam [63.200.254.69] by mail.xtrafast.com (SMTPD32-5.00) id A9125D000062; Mon, 14 Feb 2000 11:35:46 PDT X-Sender: wiggins@treyarch.com@mail.xtrafast.com X-Mailer: QUALCOMM Windows Eudora Pro Version 4.0 Date: Mon, 14 Feb 2000 11:27:29 -0800 To: freebsd-questions@freebsd.org From: Adam Wiggins Subject: divert Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-Id: <200002141135.SM00233@adam> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I'm having trouble getting NAT working with 3.4. Previously I had it working fine with 2.2.7, and I'm setting both the systems up identically. Mainly I set the proper options for natd_* in rc.conf, but the rc.firewall command to add the divert line is failing. Doing it manually I see: # ipfw add 100 divert natd all from any to any via mx1 00100 divert 8668 ip from any to any via mx1 ipfw: setsockopt(IP_FW_ADD): Invalid argument # I'm running the stock kernel, which appears to have all the options I need compiled in (namely, IPFIREWALL and IPDIVERT). Natd is running fine using mx1 as the interface; so what's going on? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message