From owner-freebsd-questions@FreeBSD.ORG Wed Apr 17 13:34:54 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B098CED for ; Wed, 17 Apr 2013 13:34:54 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [94.23.254.147]) by mx1.freebsd.org (Postfix) with ESMTP id 7DE6995B for ; Wed, 17 Apr 2013 13:34:53 +0000 (UTC) Received: from roxette.lamaiziere.net (231.176.97.84.rev.sfr.net [84.97.176.231]) by smtp.lamaiziere.net (Postfix) with ESMTPA id AADF98070; Wed, 17 Apr 2013 15:28:27 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by roxette.lamaiziere.net (Postfix) with ESMTP id 0AEB36222; Wed, 17 Apr 2013 15:28:27 +0200 (CEST) Date: Wed, 17 Apr 2013 15:28:26 +0200 From: Patrick Lamaiziere To: freebsd-questions@freebsd.org, Joe Subject: Re: How to manually start firewall after system completed boot. Message-ID: <20130417152826.64bfaf49@davenulle.org> In-Reply-To: <516E94CA.3070700@a1poweruser.com> References: <516E94CA.3070700@a1poweruser.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Apr 2013 13:34:54 -0000 Le Wed, 17 Apr 2013 08:25:46 -0400, Joe a écrit : Hello, > I have special purpose situation where I need to wait until the boot > process has completed the starting of the system and then start the > firewall (ipfw or pf). Commenting out the firewall statements from > the hosts /etc/rc.conf does stop the firewall from starting at boot > time. > > Is there some format of the service command that could be used to > manually start the selected firewall? You can use onestart/onestop if the service is not enabled in rc.conf. service pf onestart or /etc/rc.d/pf onestart Regard