Hacker ApprovedDepartments

iptables

Ranked 4 of 8 firewalls by recommenders

Linux firewall tool people use for routers, bot blocking and rate limiting. Critics find its chain and table syntax confusing and say nftables is faster and better.

Linux firewall tool people use for routers, bot blocking and rate limiting. Critics find its chain and table syntax confusing and say nftables is faster and better.

37 people gave an opinion

recommend it
15
criticize it
22
approval share
41%
Each figure is one person. RecommendsCriticizes

Recommended in 7 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: not recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: not recommended
  8. June 2026: not recommended
  9. July 2026: not recommended
  10. August 2026: recommended
  11. September 2026: recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 15 people recommend itNeeds 10 or more, met.
  • 0.6 recommenders for every criticNeeds 2 to 1 or better, not met.
  • Recommended in 7 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

  • Easier to work with

    “It's not like iptables was any better, but it was more intuitive as it spoke about IPs and ports”

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

    “I find iptables much easier to work with.”

    Comment from 17 Nov 2025 in “Why use OpenBSD?”
  • Quick router and bot blocking

    “I've always made my own routers by using low-power devices running linux with iptables and now NFtables.”

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

    “Even easier, just throw together some iptables rules & install dnsmasq.”

    Comment from 24 Mar 2026 in “FCC Updates Covered List to Include Foreign-Made Consumer Routers”

    “It's far from perfect, but it was a quick way to get rid of bots”

    Comment from 7 Aug 2026 in “99% of My Website Traffic Is Bots”
  • Traffic inspection and rate limiting

    “inspecting all HTTP port 80 traffic (with iptables or others)”

    Comment from 23 Jan 2026 in “Captive Wi-Fi”

    “use iptables rules to rate-limit any TCP network service”

    Comment from 12 Sep 2026 in “DeCloudflare”

What people warn about

Each mark is one comment

  • Confusing syntax with chains and tables

    “I don't think there is any defense for the strange syntax of IPtables, the chains, the tables.”

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

    “the PF firewall in OpenBSD was superior, definitely to the syntax of IPtables”

    Comment from 19 May 2026 in “OpenBSD 7.9 Released”

    “It was ending up as the normal iptables mess until I asked myself”

    Comment from 26 Mar 2026 in “My home network observes bedtime with OpenBSD and pf”
  • Slower than newer alternatives

    “on a 16 core EC2 instance with a 10Gbps connection IPtables couldn't do more than 5Gbps of throughput”

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

    “everyone is still using the slower iptables”

    Comment from 5 Nov 2025 in “An eBPF loophole: Using XDP for egress traffic”
  • Users moving to nftables

    “At this point I rather doubt the sanity of people still sticking to iptables tbh.”

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

    “I'll pick nftables over iptables any day, it's leagues better”

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

    “I'm just glad we don't have to deal with iptables anymore”

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

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.

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

What people said

34 of the 38 comments that mention it, newest first. Each links to the original comment.

“use iptables rules to rate-limit any TCP network service”

RecommendsComment from 12 Sep 2026 in “DeCloudflare”

“It's far from perfect, but it was a quick way to get rid of bots”

MixedComment from 7 Aug 2026 in “99% of My Website Traffic Is Bots”

“IPTables is just terrible”

CriticizesComment from 19 May 2026 in “OpenBSD 7.9 Released”

“the PF firewall in OpenBSD was superior, definitely to the syntax of IPtables”

CriticizesComment from 19 May 2026 in “OpenBSD 7.9 Released”

“dont use individual rules in iptables”

CriticizesComment from 8 Apr 2026 in “LLM scraper bots are overloading acme.com's HTTPS server”

“the only thing that's better with nftables are sets and maps”

MixedComment from 31 Mar 2026 in “How to Turn Anything into a Router”

“iptables is terse but logical.”

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

“Definitely an upgrade over iptables.”

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

“At this point I rather doubt the sanity of people still sticking to iptables tbh.”

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

“I'll pick nftables over iptables any day, it's leagues better”

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

“I've always made my own routers by using low-power devices running linux with iptables and now NFtables.”

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

“It was ending up as the normal iptables mess until I asked myself”

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

“Even easier, just throw together some iptables rules & install dnsmasq.”

RecommendsComment from 24 Mar 2026 in “FCC Updates Covered List to Include Foreign-Made Consumer Routers”

“that didnt really safely work”

CriticizesComment from 20 Mar 2026 in “Show HN: OneCLI – Vault for AI Agents in Rust”

“Forget iptables/NFT's documentatiton on par of PF.”

CriticizesComment from 17 Mar 2026 in “I Love FreeBSD”

“I'm just glad we don't have to deal with iptables anymore”

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

“inspecting all HTTP port 80 traffic (with iptables or others)”

MixedComment from 23 Jan 2026 in “Captive Wi-Fi”

“how apparently inefficient source/destination address hashing algorithm for the set match is”

CriticizesComment from 12 Jan 2026 in “I Cannot SSH into My Server Anymore (and That's Fine)”

“iptables is sooo last decade”

CriticizesComment from 12 Jan 2026 in “I Cannot SSH into My Server Anymore (and That's Fine)”

“Even iptables rules turned out to not be a very good approach since most destinations would have many, constantly cycling IPs and ports.”

CriticizesComment from 2 Jan 2026 in “The Netflix Simian Army (2011)”

“after you rip out the iptables stuff”

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

“UFW and Firewall-CMD both just use iptables in that context though.”

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

“With iptables, it was painful”

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

“It's not like iptables was any better, but it was more intuitive as it spoke about IPs and ports”

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

“As a user of iptables this order makes me anxious.”

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

“I don't think there is any defense for the strange syntax of IPtables, the chains, the tables.”

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

“You had ipchains, iptables, nftables and now god knows what.”

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

“Compared to working with iptables, PF is like this haiku”

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

“Consider the featureset of iptables”

RecommendsComment from 18 Nov 2025 in “How to escape the Linux networking stack”

“I find iptables much easier to work with.”

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

“iptables is indeed horrid”

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

“by blocking an entire /16 range, it is this type of overzealous action that contributes to making the internet experience a bit more mediocre”

MixedComment from 16 Nov 2025 in “The internet is no longer a safe haven”

“on a 16 core EC2 instance with a 10Gbps connection IPtables couldn't do more than 5Gbps of throughput”

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

“everyone is still using the slower iptables”

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

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