Back to Browse

Setting up a basic firewall with pf on FreeBSD

1.0K views
Feb 26, 2025
7:06

A quick howto on setting up a basic firewall with pf on FreeBSD. FreeBSD Handbook pf Page: https://docs.freebsd.org/en/books/handbook/firewalls/#firewalls-pf pf Man Page: https://man.freebsd.org/cgi/man.cgi?query=pf&apropos=0&sektion=0&manpath=FreeBSD+14.2-RELEASE+and+Ports&arch=default&format=html DigitalOcean Howto on pf: https://www.digitalocean.com/community/tutorials/how-to-configure-packet-filter-pf-on-freebsd-12-1 The Book of pf: https://nostarch.com/pf3 (Disclaimer: Covers pf on OpenBSD!) Check out my website and blog as well if you like! (Links below) Website: https://jhx7.de/ GitHub: https://github.com/jhx0 Blog: https://jhx7.de/blog/ Fosstodon: https://fosstodon.org/@jhx BSD.Cafe: https://mastodon.bsd.cafe/@jhx

Download

1 formats

Video Formats

360pmp48.6 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Setting up a basic firewall with pf on FreeBSD | NatokHD