How to manually start firewall after system completed boot.

Patrick Lamaiziere patfbsd at davenulle.org
Wed Apr 17 13:34:54 UTC 2013


Le Wed, 17 Apr 2013 08:25:46 -0400,
Joe <fbsd8 at 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


More information about the freebsd-questions mailing list