Home arrow Journal arrow Today Quick Tip: Debugging PF Firewall with pflog
Today Quick Tip: Debugging PF Firewall with pflog PDF
Thursday, 03 March 2011
If you've compiled your FreeBSD kernel with:

device pf
device pflog
device pfsync


You can debug PF Firewall rules by using pflog virtual network interface.

First we fire up pflog interface:

  ifconfig pflog0 up

Then we see traffic passing through firewall with tcpdump command:

  tcpdump -n -e -ttt -i pflog0

It will be logged traffic with log tag.

 
< Prev   Next >

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?