Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2003 23:18:28 +0100
From:      "Danny Horne" <danny@clifftop.net>
To:        "Josh Paetzel" <friar_josh@webwarrior.net>, "Shawn Guillemette" <shawn@guillemette.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: RC.conf
Message-ID:  <014601c37d69$9f0fb270$0a01a8c0@cassiopeia>
References:  <001201c37d80$45bf32b0$6601a8c0@hsdlaptop> <20030917220957.GI27665@tcbug.org>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- 
From: "Josh Paetzel" <friar_josh@webwarrior.net>
To: "Shawn Guillemette" <shawn@guillemette.org>
Cc: <freebsd-questions@freebsd.org>
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?014601c37d69$9f0fb270$0a01a8c0>