From owner-freebsd-questions@FreeBSD.ORG Mon Jul 14 23:47:04 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 6764737B401 for ; Mon, 14 Jul 2003 23:47:04 -0700 (PDT) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.202.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC80343F93 for ; Mon, 14 Jul 2003 23:47:03 -0700 (PDT) (envelope-from freebsduser@comcast.net) Received: from comcast.net (12-225-141-88.client.attbi.com[12.225.141.88](untrusted sender)) by comcast.net (sccrmhc11) with SMTP id <2003071506470201100jitqne> (Authid: animotions); Tue, 15 Jul 2003 06:47:02 +0000 Message-ID: <3F13A357.4050205@comcast.net> Date: Mon, 14 Jul 2003 23:46:47 -0700 From: K Anderson User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 X-Accept-Language: en-us, en MIME-Version: 1.0 To: RYAN vAN GINNEKEN References: <3F138E20.7010801@computerking.ca> In-Reply-To: <3F138E20.7010801@computerking.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: firewall 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: Tue, 15 Jul 2003 06:47:04 -0000 RYAN vAN GINNEKEN wrote: > ipfw /etc/rc.fw4 > gives me > ipfw: bad arguments, for usage summary ``ipfw'' > > need to start my firewall without rebooting > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > ipfw isn't some sort of daemon to be stopped and started. If you want to add rules, delete rules or what ever then you just do it. Take a look at the script in /etc/rc.firewalls and you'll see that's all they are doing. so your firewall file should be a shell script. Even if you do man ipfw you'll see that in no way does ipfw accept a file name as an arguemnt. Pretty simple eh?