problem on pf @ freebsd 7.0
xsappyx at gmail.com
Wed May 14 18:07:16 UTC 2008
Take a look in /etc/defaults/rc.conf The bits for PF are already
there. All you should need is to set pf_enable="YES"
A quick guess would be that that /etc/defaults/rc.conf is loaded after
/etc/rc.conf, and pf_enable is reset to NO, but that is just a guess.
Here is my pf section from /etc/defaults/rc.conf that brings pf up on boot:
pf_enable="YES" # Set to YES to enable packet filter (pf)
pf_rules="/etc/pf.conf" # rules definition file for pf
pf_program="/sbin/pfctl" # where the pfctl program lives
pf_flags="" # additional flags for pfctl
pflog_enable="YES" # Set to YES to enable packet filter logging
pflog_logfile="/var/log/pflog" # where pflogd should store the logfile
pflog_program="/sbin/pflogd" # where the pflogd program lives
pflog_flags="" # additional flags for pflogd
On Wed, May 14, 2008 at 5:24 AM, RW <fbsd06 at mlists.homeunix.com> wrote:
> On Wed, 14 May 2008 09:24:52 +0800
> "CyberSans AirBort" <cybersans at gmail.com> wrote:
>> and guess what? pf is not loading when startup. i have to manually
>> restarted the pf using /etc/rc.d/pf restart
> What exactly do you mean by "not loading"? Do you mean not working?
> Are there any pf related error messages in /var/log/messages.
> In some case pf does need a /etc/rc.d/pf resync (or restart) done
> at a later stage. e.g if pf.conf uses hostnames that can't be resolved
> at that stage of the boot.
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions