From owner-freebsd-questions Sun Mar 21 21:43:47 1999 Delivered-To: freebsd-questions@freebsd.org Received: from hercules.orion.ab.ca (hercules.orion.ab.ca [207.134.218.40]) by hub.freebsd.org (Postfix) with ESMTP id 272B314D5C for ; Sun, 21 Mar 1999 21:43:44 -0800 (PST) (envelope-from timp@orion.ab.ca) Received: from dedalus (24.65.177.130.ab.wave.home.com [24.65.177.130]) by hercules.orion.ab.ca (8.8.5/8.8.5) with SMTP id XAA29695 for ; Sun, 21 Mar 1999 23:54:05 -0700 (MST) Message-ID: <000301be74f1$3a0ca480$9801a8c0@dedalus> From: "Tim Pushor" To: Subject: NAT Question Date: Mon, 22 Mar 1999 22:51:38 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3155.0 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3155.0 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I have built a NAT box using ipfw and natd on FreeBSD 2.2.8. I can't seem to accomplish what I am trying to do: I have three interfaces (the IP's have been changed to protect the innocent :) public - 207.122.216.0 255.255.255.128 protected - 207.122.216.129 255.255.255.128 private - 192.168.1.0 255.255.255.0 What I am trying to do is to use the machine as a router between the public and protected interfaces (and default routing out to a router that will forward to the Internet), but NAT the private interface to an IP address on the public side. The NAT works fine.. The problem I am having is that after enabling nat, the protected interface will no longer forward to the Internet. What I am wondering is how I should configure ipfw so that traffic to/from the private network is NATted, and that routing between the public and protected interfaces is unnafected. Can someone help shed some light on this? Many thanks, Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message