pf (OpenBSD Packet Filter)
Hacker ApprovedThe most recommended of 8 firewalls
Recommended for its readable configuration syntax, simplicity and reliability; critics cite single-threaded performance and syntax changes that break configs.
Recommended for its readable configuration syntax, simplicity and reliability; critics cite single-threaded performance and syntax changes that break configs.
60 people gave an opinion
- recommend it
- 53
- criticize it
- 7
- approval share
- 88%
Recommended in 11 of 13 months
- November 2025: recommended
- December 2025: recommended
- January 2026: recommended
- February 2026: recommended
- March 2026: recommended
- April 2026: recommended
- May 2026: recommended
- June 2026: recommended
- July 2026: recommended
- August 2026: recommended
- September 2026: not recommended
- October 2026: recommended
- November 2026: not recommended (month in progress)
Why it carries the badge
- 53 people recommend itNeeds 10 or more, met.
- 7.6 recommenders for every criticNeeds 2 to 1 or better, met.
- Recommended in 11 of 13 monthsNeeds 4 or more, met.
The same three rules apply to every product, and the badge can’t be bought. How the badge works
What people say about it
The reasons people give, with the number of comments that give each one. Open a reason to read what they said.
Why people recommend it
Each mark is one comment
Readable, intuitive configuration syntax
“That firewall config is just easy to grok, easy to read up on and does 99.999% of what you ever need out of a firewall.”
Comment from 1 Dec 2025 in “A Love Letter to FreeBSD” “It's easy to configure and still human readable, even for more advanced firewall gateway setups”
Comment from 18 Dec 2025 in “I got hacked: My Hetzner server started mining Monero” “pretty much the most well regarded firewall there is - with a nice, sensible DSL for config”
Comment from 2 Nov 2025 in “Using FreeBSD to make self-hosting fun again” - Comment from 24 Nov 2025 in “Moving from OpenBSD to FreeBSD for firewalls”
- Comment from 16 Nov 2025 in “Why use OpenBSD?”
- Comment from 19 Mar 2026 in “OpenBSD: PF queues break the 4 Gbps barrier”
- Comment from 25 Nov 2025 in “Moving from OpenBSD to FreeBSD for firewalls”
- Comment from 30 Mar 2026 in “How to Turn Anything into a Router”
- Comment from 1 Feb 2026 in “The Book of PF, 4th edition”
- Comment from 24 Nov 2025 in “Moving from OpenBSD to FreeBSD for firewalls”
Very capable firewall
“That firewall config is just easy to grok, easy to read up on and does 99.999% of what you ever need out of a firewall.”
Comment from 1 Dec 2025 in “A Love Letter to FreeBSD” “It's just a very capable firewall with a pleasurable configuration language.”
Comment from 24 Nov 2025 in “Moving from OpenBSD to FreeBSD for firewalls” “Whatever a firewall can do, PF can do it.”
Comment from 10 Jun 2026 in “macOS Container Machines” - Comment from 24 Nov 2025 in “Moving from OpenBSD to FreeBSD for firewalls”
Simple and reliable
“I prefer pf and the simplicity of OpenBSD over Debian for such a purpose-built application”
Comment from 16 Nov 2025 in “Why use OpenBSD?” “hands down my favorite combination for simple packet filter firewalls”
Comment from 21 Nov 2025 in “We're (now) moving from OpenBSD to FreeBSD for firewalls” “it is used widely for its simplicity and reliability”
Comment from 19 Mar 2026 in “OpenBSD: PF queues break the 4 Gbps barrier” Integrates well with OpenBSD tools
“Playing with jails, pf, ZFS, and some other goodies has been a lot of fun.”
Comment from 2 Nov 2025 in “Using FreeBSD to make self-hosting fun again” “Jails, ZFS, pf, bhyve, Dtrace are very well integrated with eachother”
Comment from 1 Dec 2025 in “A Love Letter to FreeBSD”
What people warn about
Each mark is one comment
Single-threaded performance limits
“the single threaded nature killed it for any serious usage for me”
Comment from 25 Nov 2025 in “Moving from OpenBSD to FreeBSD for firewalls” “the miserable single-threaded `pf` on OpenBSD is still”
Comment from 25 Nov 2025 in “Moving from OpenBSD to FreeBSD for firewalls” “pf leaves performance on the table”
Comment from 19 Mar 2026 in “OpenBSD: PF queues break the 4 Gbps barrier” - Comment from 1 Feb 2026 in “The Book of PF, 4th edition”
Breaking rule syntax changes
“The easiest change to make to pf is making BC breaks to everyone’s firewall config which OpenBSD has done multiple times.”
Comment from 16 Jan 2026 in “pf: Make af-to less magical” “OpenBSD changed the rules syntax for some reason and the other platforms with pf kept the existing syntax”
Comment from 26 Mar 2026 in “My home network observes bedtime with OpenBSD and pf” “has blessed breaking pf multiple times by changing the rule syntax”
Comment from 1 Feb 2026 in “The Book of PF, 4th edition” Dislike of rule syntax
“Personally, I don't really care for PF, but it offers pfsync, which I do care for, so I use it”
Comment from 24 Nov 2025 in “Moving from OpenBSD to FreeBSD for firewalls” “I also don't really care for how pf specifies rules”
Comment from 19 Mar 2026 in “OpenBSD: PF queues break the 4 Gbps barrier”
Other firewalls people recommend
The four most recommended other firewalls, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.
| Product | Recommend | Criticize | Approval | Months | Owned | Badge |
|---|---|---|---|---|---|---|
| pf (OpenBSD Packet Filter)This page | 53 | 7 | 88% | 11 | — | Approved |
| nftables | 29 | 10 | 74% | 8 | — | Approved |
| LuLu firewall | 27 | 3 | 90% | 9 | — | Approved |
| iptables | 15 | 22 | 41% | 7 | — | — |
| UFW | 12 | 15 | 44% | 6 | — | — |
What people said
40 of the 74 comments that mention it, newest first. Each links to the original comment.
“Any standard PC with two or more Ethernet interfaces and OpenBSD with PF.”
“There's a couple of cool things coming from OpenBSD camp, most notably OpenSSH and PF.”
“aggressively bring in new security features like pf, OpenSSH”
“Whatever a firewall can do, PF can do it.”
“inventions by OpenBSD team (often using Open as prefix) become standard, such as OpenSSH and PF”
“quality of subset of network drivers and subsystems like pf to support your mission”
“nftables syntax makes me love pf’s syntax even more”
“OpenBSD changed the rules syntax for some reason and the other platforms with pf kept the existing syntax”
“Didn't I just read a few days ago about pf queues just now breaking 4Gbps?”
“it is finally performing acceptably since a couple of years back”
“I also don't really care for how pf specifies rules”
“pf leaves performance on the table”
“it is used widely for its simplicity and reliability”
“PF is intuitive and easy to work with, even for non network gurus.”
“I think their PF now has support for SMP, but maybe it's still in development?”
“PF operates a LOT more like commercial firewalls in how you think about filtering and NAT.”
“Just doing packet filtering doesn't buy you all that much anymore these days”
“I prefer pf, but I don't recommend it to people new to firewalls.”
“has blessed breaking pf multiple times by changing the rule syntax”
“I find it intuitive and even enjoyable to work on.”
“It's slower than nftables.”
“The easiest change to make to pf is making BC breaks to everyone’s firewall config which OpenBSD has done multiple times.”
“It's easy to configure and still human readable, even for more advanced firewall gateway setups”
“That firewall config is just easy to grok, easy to read up on and does 99.999% of what you ever need out of a firewall.”
“Jails, ZFS, pf, bhyve, Dtrace are very well integrated with eachother”
“the miserable single-threaded `pf` on OpenBSD is still”
“the single threaded nature killed it for any serious usage for me”
“I still prefer PF syntax over everything else though”
“I've been using OpenBSD and PF for nearly 25 years (PF debuted December 2001)”
“PF is incredibly intuitive and powerful”
“Personally, I don't really care for PF, but it offers pfsync, which I do care for, so I use it”
“It's just a very capable firewall with a pleasurable configuration language.”
“Once you've gone pf you'll pine for it when working with anything else.”
“adjusting from the reference PF to the minor differences on FreeBSD's version is not too bad.”
“hands down my favorite combination for simple packet filter firewalls”
“pf is easier to read and understand, easier to adjust, more dynamic”
“I prefer pf and the simplicity of OpenBSD over Debian for such a purpose-built application”
“NIC passes the RX buffer directly to the firewall (ipfw, pf, or ipfilter)”
“Playing with jails, pf, ZFS, and some other goodies has been a lot of fun.”
“pretty much the most well regarded firewall there is - with a nice, sensible DSL for config”
Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.