RC.conf

Danny Horne danny at clifftop.net
Wed Sep 17 15:18:31 PDT 2003


----- Original Message ----- 
From: "Josh Paetzel" <friar_josh at webwarrior.net>
To: "Shawn Guillemette" <shawn at guillemette.org>
Cc: <freebsd-questions at 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





More information about the freebsd-questions mailing list