Solved [Solved] PF not logging

Hello,

I have a little problem: my pf is not logging anything. I also observed that there is no pflog interface on the FreeBSD machine. I can assure you that pf.conf is configured to log traffic that passes through.

Can anyone give me any ideas?


Thanks in advance.
 
Re: PF not logging

Have you actually activated pflog in /etc/rc.conf?
 
Re: PF not logging

Ermm... Yes? :))

Can you please tell me how to do this? I don't know if I did that.
 
Re: PF not logging

pflog is a device that needs to be enabled in /etc/rc.conf. It doesn't magically spring to life.

Code:
pflog_enable="YES"

You can then start it manually (it is normally auto-started at boot time) with service pflog start.
 
Re: PF not logging

Ohh. Okay. I didn't know that. I was thinking that since I have enabled pf and I've set it to log, it would suffice.

Thanks for help. I'll try it in a few.

It worked. Thank you.
 
Back
Top