Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2013 15:28:26 +0200
From:      Patrick Lamaiziere <patfbsd@davenulle.org>
To:        freebsd-questions@freebsd.org, Joe <fbsd8@a1poweruser.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
Le Wed, 17 Apr 2013 08:25:46 -0400,
Joe <fbsd8@a1poweruser.com> 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



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