Hacker ApprovedDepartments

pf (OpenBSD Packet Filter)

Hacker Approved

The 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%
Each figure is one person. RecommendsCriticizes

Recommended in 11 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: recommended
  8. June 2026: recommended
  9. July 2026: recommended
  10. August 2026: recommended
  11. September 2026: not recommended
  12. October 2026: recommended
  13. 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”
  • 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”
  • 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”
  • 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.

pf (OpenBSD Packet Filter) compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
pf (OpenBSD Packet Filter)This page53788%11—Approved
nftables291074%8—Approved
LuLu firewall27390%9—Approved
iptables152241%7——
UFW121544%6——
See all 8 firewalls, ranked

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.”

RecommendsComment from 15 Oct 2026 in “Wanted to download an ISO, ended up writing a kernel exploit”

“There's a couple of cool things coming from OpenBSD camp, most notably OpenSSH and PF.”

RecommendsComment from 9 Aug 2026 in “NetBSD 11.0 Released”

“aggressively bring in new security features like pf, OpenSSH”

RecommendsComment from 8 Jul 2026 in “OpenBSD has a use-after-free allowing local privilege escalation to root”

“Whatever a firewall can do, PF can do it.”

RecommendsComment from 10 Jun 2026 in “macOS Container Machines”

“inventions by OpenBSD team (often using Open as prefix) become standard, such as OpenSSH and PF”

RecommendsComment from 31 May 2026 in “Openrsync: A BSD-licensed implementation of rsync, by the OpenBSD team”

“quality of subset of network drivers and subsystems like pf to support your mission”

RecommendsComment from 9 Apr 2026 in “FreeBSD Laptop Compatibility: Top Laptops to Use with FreeBSD”

“nftables syntax makes me love pf’s syntax even more”

RecommendsComment from 30 Mar 2026 in “How to Turn Anything into a Router”

“OpenBSD changed the rules syntax for some reason and the other platforms with pf kept the existing syntax”

CriticizesComment from 26 Mar 2026 in “My home network observes bedtime with OpenBSD and pf”

“Didn't I just read a few days ago about pf queues just now breaking 4Gbps?”

RecommendsComment from 21 Mar 2026 in “Revert "userdb: add birthDate field to JSON user records”

“it is finally performing acceptably since a couple of years back”

RecommendsComment from 20 Mar 2026 in “OpenBSD: PF queues break the 4 Gbps barrier”

“I also don't really care for how pf specifies rules”

MixedComment from 19 Mar 2026 in “OpenBSD: PF queues break the 4 Gbps barrier”

“pf leaves performance on the table”

CriticizesComment from 19 Mar 2026 in “OpenBSD: PF queues break the 4 Gbps barrier”

“it is used widely for its simplicity and reliability”

RecommendsComment from 19 Mar 2026 in “OpenBSD: PF queues break the 4 Gbps barrier”

“PF is intuitive and easy to work with, even for non network gurus.”

RecommendsComment from 19 Mar 2026 in “OpenBSD: PF queues break the 4 Gbps barrier”

“I think their PF now has support for SMP, but maybe it's still in development?”

MixedComment from 19 Mar 2026 in “OpenBSD: PF queues break the 4 Gbps barrier”

“PF operates a LOT more like commercial firewalls in how you think about filtering and NAT.”

RecommendsComment from 1 Feb 2026 in “The Book of PF, 4th edition”

“Just doing packet filtering doesn't buy you all that much anymore these days”

MixedComment from 1 Feb 2026 in “The Book of PF, 4th edition”

“I prefer pf, but I don't recommend it to people new to firewalls.”

MixedComment from 1 Feb 2026 in “The Book of PF, 4th edition”

“has blessed breaking pf multiple times by changing the rule syntax”

CriticizesComment from 1 Feb 2026 in “The Book of PF, 4th edition”

“I find it intuitive and even enjoyable to work on.”

RecommendsComment from 1 Feb 2026 in “The Book of PF, 4th edition”

“It's slower than nftables.”

CriticizesComment from 1 Feb 2026 in “The Book of PF, 4th edition”

“The easiest change to make to pf is making BC breaks to everyone’s firewall config which OpenBSD has done multiple times.”

CriticizesComment from 16 Jan 2026 in “pf: Make af-to less magical”

“It's easy to configure and still human readable, even for more advanced firewall gateway setups”

RecommendsComment from 18 Dec 2025 in “I got hacked: My Hetzner server started mining Monero”

“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.”

RecommendsComment from 1 Dec 2025 in “A Love Letter to FreeBSD”

“Jails, ZFS, pf, bhyve, Dtrace are very well integrated with eachother”

RecommendsComment from 1 Dec 2025 in “A Love Letter to FreeBSD”

“the miserable single-threaded `pf` on OpenBSD is still”

CriticizesComment from 25 Nov 2025 in “Moving from OpenBSD to FreeBSD for firewalls”

“the single threaded nature killed it for any serious usage for me”

MixedComment from 25 Nov 2025 in “Moving from OpenBSD to FreeBSD for firewalls”

“I still prefer PF syntax over everything else though”

RecommendsComment from 25 Nov 2025 in “Moving from OpenBSD to FreeBSD for firewalls”

“I've been using OpenBSD and PF for nearly 25 years (PF debuted December 2001)”

RecommendsComment from 24 Nov 2025 in “Moving from OpenBSD to FreeBSD for firewalls”

“PF is incredibly intuitive and powerful”

RecommendsComment from 24 Nov 2025 in “Moving from OpenBSD to FreeBSD for firewalls”

“Personally, I don't really care for PF, but it offers pfsync, which I do care for, so I use it”

MixedComment from 24 Nov 2025 in “Moving from OpenBSD to FreeBSD for firewalls”

“It's just a very capable firewall with a pleasurable configuration language.”

RecommendsComment from 24 Nov 2025 in “Moving from OpenBSD to FreeBSD for firewalls”

“Once you've gone pf you'll pine for it when working with anything else.”

RecommendsComment from 24 Nov 2025 in “Moving from OpenBSD to FreeBSD for firewalls”

“adjusting from the reference PF to the minor differences on FreeBSD's version is not too bad.”

RecommendsComment from 24 Nov 2025 in “We're (now) moving from OpenBSD to FreeBSD for firewalls”

“hands down my favorite combination for simple packet filter firewalls”

RecommendsComment from 21 Nov 2025 in “We're (now) moving from OpenBSD to FreeBSD for firewalls”

“pf is easier to read and understand, easier to adjust, more dynamic”

RecommendsComment from 16 Nov 2025 in “Why use OpenBSD?”

“I prefer pf and the simplicity of OpenBSD over Debian for such a purpose-built application”

RecommendsComment from 16 Nov 2025 in “Why use OpenBSD?”

“NIC passes the RX buffer directly to the firewall (ipfw, pf, or ipfilter)”

MixedComment from 5 Nov 2025 in “An eBPF loophole: Using XDP for egress traffic”

“Playing with jails, pf, ZFS, and some other goodies has been a lot of fun.”

RecommendsComment from 2 Nov 2025 in “Using FreeBSD to make self-hosting fun again”

“pretty much the most well regarded firewall there is - with a nice, sensible DSL for config”

RecommendsComment from 2 Nov 2025 in “Using FreeBSD to make self-hosting fun again”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.