Hansteen, Peter N.M. (2014). The Book of PF: 3rd Edition. San Francisco, CA: No Starch Press. To my knowledge, the only comprehensive guide on pf, the command-line utility upon which pfSense is based.