From owner-freebsd-questions Thu May 3 12:14:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from labs.tamu.edu (magicbag.tamu.edu [128.194.103.126]) by hub.freebsd.org (Postfix) with ESMTP id 4BF3737B449 for ; Thu, 3 May 2001 12:14:16 -0700 (PDT) (envelope-from jsl1339@labs.tamu.edu) Received: from diablo (tired89.resnet.tamu.edu) by labs.tamu.edu (LSMTP for Windows NT v1.1b) with SMTP id <9.000766FD@labs.tamu.edu>; Thu, 3 May 2001 14:14:14 -0500 From: "Jeff Leslie" To: Subject: NAT Date: Thu, 3 May 2001 14:21:37 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG i have FreeBSD 4.3 RC1 and connected to a dhcp server at Texas A&M University i have been trying to run NAT for firewall purposes and I am having trouble. First off, i added the two options (IPFIREWALL and IPDIVERT) and recompiled the kernel. Next i ran I enabled gateway in /etc/rc.conf then i did # natd -interface dc1 (this is my incoming ethernet card, the one connected to the dhcp. dc0 is the other) # /sbin/ipfw -f flush # /sbin/ipfw add divert natd all from any to any via dc1 # /sbin/ipfw add pass all from any to any then i went to run the /etc/rc.firewall, and it gave me that permission was denied ( and i was logged in a root) also, when i went into /etc/rc.conf, there was no enable_firewall....i added it, but there was none to begin with please let me know what im doing wrong. another thing i want to know is what to set my windows 2000 computer that runs behind it to? ( as in network properties) thanks and gig em jeff leslie To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message