This isn't so much of a proper how-to, but mostly notes to self on how to quickly setup IPFW on FreeBSD 9.

To enable IPFW:

Open up /etc/rc.conf and add the following lines:

firewall_enable="YES" #Enables the firewall - the most important line :)
firewall_logging="YES" #optional - enables logging - logs …