OpenBSD FP Firwall Howto and tutorial

PF is OpenBSD’s stateful packet filter firewall. PF is developed on OpenBSD, but has been ported to many other operating systems. It is the only firewall that supports both IPv4 and IPv6 traffic filtering:

A recent story highlighted the wonderfulness of OpenBSD’s spamd with an empasis on greylisting. This tutorial, field tested at user groups and conferences, gives a slightly broader view of the things you can do with PF on OpenBSD and the other BSDs. Last seen at AsiaBSDCon 2007, but on the menu for BSDCan 2007 and EuroBSDCon 2007 too….

…This lecture[1] will be about firewalls and related functions, starting from a little theory along with a number of examples of filtering and other network traffic directing. As in any number of other endeavors, the things I discuss can be done in more than one way. Under any circumstances I will urge you to interrupt me when you need to. That is, if you will permit me to use what I learn from your comments later, either in revised versions of this lecture or in practice at a later time.

Howto Firewalling with OpenBSD’s PF packet filter (via RootPrompt)

🐧 Please support my work on Patreon or with a donation.
🐧 Get the latest tutorials on Linux, Open Source & DevOps via:
CategoryList of Unix and Linux commands
File Managementcat
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network Utilitiesdig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
0 comments… add one

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre> for code samples. Problem posting comment? Email me @