From owner-freebsd-questions Sat Aug 26 22:51: 2 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pioneernet.net (pop3.pioneernet.net [208.240.196.25]) by hub.freebsd.org (Postfix) with ESMTP id 50F0837B42C for ; Sat, 26 Aug 2000 22:51:00 -0700 (PDT) Received: from wiegand.org [208.194.173.26] by pioneernet.net with ESMTP (SMTPD32-6.03) id AF5240C40254; Sat, 26 Aug 2000 23:04:02 -0700 Message-ID: <39A8AC92.1203D118@wiegand.org> Date: Sat, 26 Aug 2000 22:52:18 -0700 From: Chip X-Mailer: Mozilla 4.74 [en] (X11; U; FreeBSD 4.0-RELEASE i386) X-Accept-Language: en MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Subject: IPFW redirect rule? Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I am setting up a machine as a firewall and am starting by using the default ipfw rc.firewall rules and am following the instructions in the Complete FreeBSD book by Greg Lehey. I want to add a redirect rule to allow access to my web server on another machine. I am not sure if I use rdr or divert, maybe I am confusing ipfw and ipfilter stuff. I haven't found an answer on the FreeBSD Diary or in the archives. My kernel is reconfigured as directed in the book, everything else is set up as per the instructions. My firewall machine has two nics, one with the public ip address,208.194.173.xx, the other with a private ip address, part of my home network. My web server also has a private ip address, part of my home network, 192.168.0.x. I'm sure this is probably no problem, I just haven't found the answer anywhere. -- Chip W. www.wiegand.org Alternative Operating Systems To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message