1、
  Q:ipfw: getsockopt(IP_FW_GET): Protocol not available.

  A:Add following option to /etc/rc.conf

Code:
firewall_enable="YES"
firewall_script="YES"
firewall_script="/usr/local/etc/ipfw.rules"

Setup firew……