From owner-freebsd-questions@FreeBSD.ORG Wed Sep 17 15:18:31 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9792E16A4B3 for ; Wed, 17 Sep 2003 15:18:31 -0700 (PDT) Received: from smtp.clifftop.net (machassociates-6.dsl.easynet.co.uk [217.204.162.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id A83CD43FD7 for ; Wed, 17 Sep 2003 15:18:28 -0700 (PDT) (envelope-from danny@clifftop.net) Received: from cassiopeia (cassiopeia.clifftop.net [192.168.1.10]) (authenticated bits=0) by smtp.clifftop.net (8.12.10/8.12.10) with ESMTP id h8HMIQ5M002144; Wed, 17 Sep 2003 23:18:26 +0100 (BST) Message-ID: <014601c37d69$9f0fb270$0a01a8c0@cassiopeia> From: "Danny Horne" To: "Josh Paetzel" , "Shawn Guillemette" References: <001201c37d80$45bf32b0$6601a8c0@hsdlaptop> <20030917220957.GI27665@tcbug.org> Date: Wed, 17 Sep 2003 23:18:28 +0100 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 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Antivirus: avast! (VPS 16/09/2003), Outbound message X-Antivirus-Status: Clean cc: freebsd-questions@freebsd.org Subject: Re: RC.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Sep 2003 22:18:31 -0000 ----- Original Message ----- From: "Josh Paetzel" To: "Shawn Guillemette" Cc: Sent: Wednesday, September 17, 2003 11:09 PM Subject: Re: RC.conf > On Wed, Sep 17, 2003 at 06:00:36PM -0700, Shawn Guillemette wrote: > > I'm looking for an example of /etc/rc.conf that's from a machine that is running nat.. I had this running at one time a nd now need to reinstall and want to rebuild,., I just cant remember what I added to rc.conf > > > > gateway_enable="YES" > natd_enable="YES" > natd_interface="rl0" > natd_flags="-f /etc/natd.conf" > firewall_enable="YES" > firewall_script="/etc/firewall/fwrules" > That's assuming he wants natd, this for ipnat ipnat_enable="YES" # Set to YES for ipnat; needs ipfilter, too! ipnat_program="/sbin/ipnat -CF -f" # program and how to specify rules file ipnat_rules="/etc/ipnat.rules" # rules definition file for ipnat ipnat_flags="" # additional flags for ipnat --- avast! Antivirus: Outbound message clean. Virus Database (VPS): 16/09/2003 Tested on: 17/09/2003 23:18:29 avast! is copyright (c) 2000-2003 ALWIL Software. http://www.avast.com