From owner-freebsd-questions Sun Jun 27 14:10:14 1999 Delivered-To: freebsd-questions@freebsd.org Received: from dt054n86.san.rr.com (dt054n86.san.rr.com [24.30.152.134]) by hub.freebsd.org (Postfix) with ESMTP id 50B9614CE5 for ; Sun, 27 Jun 1999 14:10:11 -0700 (PDT) (envelope-from Doug@gorean.org) Received: from gorean.org (master [10.0.0.2]) by dt054n86.san.rr.com (8.8.8/8.8.8) with ESMTP id OAA17363; Sun, 27 Jun 1999 14:10:08 -0700 (PDT) (envelope-from Doug@gorean.org) Message-ID: <37769332.1DAFC81B@gorean.org> Date: Sun, 27 Jun 1999 14:10:10 -0700 From: Doug Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.61 [en] (X11; U; FreeBSD 4.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Jerry Raynor Cc: questions@FreeBSD.ORG Subject: Re: rc.firewall References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jerry Raynor wrote: > > I'm trying to set a firewall, when I run the ipfw commands from the > command line no problem it works. Now I've created rc.firewall to set > this up but if I were to for example reboot, everything is closed by > default There is an option in the kernel config to make the firewall open by default. Purists will tell you that this is a bad thing, however for the casual user it can be a lifesaver. > like it doesn't even see the rc.firewall. I run the ipfw > commands at the command line and I'm ok. In the rc.conf file I have > firewall turned on and type set to simple, I'm guessing my > syntax in rc.firewall is wrong? Here it is: > > if [ "${firewall}" = "simple" ]; then Well, the option in rc.conf is firewall_type, so perhaps that is your error? Also, do you have firewall_enable set to YES? Otherwise rc.network won't even try to read your rc.firewall file. HTH, Doug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message