Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Oct 2001 23:41:21 -0400
From:      Nathan Mace <mace_nathan@uchaswv.edu>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   ipfw starts at boot-up
Message-ID:  <20011002234121.27ffd120.mace_nathan@uchaswv.edu>

next in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
i just compiled my kernel to include ipfw support....installed
it..restarted....it's 11:30PM here...the firewall is just a pet project
that i'm running on my personal machine...it can wait a few days.  it's
set by default to deny all....i got it opened up enough to sent mail and
get on the net(duh or you wouldn't be reading this)....but my question
is....according to 'man rc.conf" i can add some options to the
/etc/rc.conf file like whether or not to start the firewall when the OS
boots...eventually i'll want it to..but not until i get it configured. 
so i set that to no..and a few other options then i rebooted

when it boots up is says that firewall_enable = "NO" is not a valid
command...basically along the lines that it doesn't know what to do with
it.  what am i doing wrong?  none of the options i entered concerning
the firewall to rc.conf file work...they all say what the 1st one does. 
i've attached my rc.conf file...can someone look at it and maybe tell me
what i'm doing wrong?  i found some doc's at www.onlamp.com and thats
what they do as well.....what do i do?  

thanks
nathan
[-- Attachment #2 --]

# -- sysinstall generated deltas -- #
# Created: Tue Sep 18 00:35:41 2001
# Enable network daemons for user convenience.
# This file now contains just the overrides from /etc/defaults/rc.conf
# please make all changes to this file.
hostname="cheech.uchaswv.edu"
ifconfig_xl0="DHCP"
inetd_enable="YES"
kern_securelevel_enable="NO"
linux_enable="YES"
moused_enable="YES"
saver="fire"
sendmail_enable="NO"
sshd_enable="YES"
usbd_enable="YES"
# -- sysinstall generated deltas -- #
sendmail_enable="NO"
portmap_enable="NO"
# -- sysinstall generated deltas -- #
defaultrouter="172.16.129.129"
hostname="cheech.uchaswv.edu"



#firewall--ipfw
firewall_enable = "NO"
firewall_script="/etc/rc.firewall"
firewall_type = "/root/ipfw.rules" 
firewall_quiet = "YES"
log_in_vain = "YES"
firewall_logging_enable = "YES"
icmp_drop_redirect = "YES"

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011002234121.27ffd120.mace_nathan>