Skip to content
ADHDecode
  1. Home
  2. Articles
  3. Nftables

Nftables Articles

50 articles

nftables vs iptables Performance: Benchmark Results

nftables can be significantly faster than iptables for certain packet processing tasks, especially when dealing with complex rule sets or high connectio.

3 min read

nftables Port Forwarding: DNAT to Internal Services

Port forwarding with nftables relies on Destination Network Address Translation DNAT to redirect incoming traffic destined for a specific port on your f.

2 min read

nftables Priority and Hooks: Understand Processing Order

Nftables processes rules in a specific order based on their priority and hook, allowing for fine-grained control over network traffic.

3 min read

nftables Production Hardening: Secure Server Ruleset

nftables is the modern replacement for iptables, offering a more structured and flexible way to manage network filtering.

3 min read

nftables Quotas: Rate-Limit Bandwidth Per IP

nftables quotas let you cap the amount of data or connection attempts from a specific IP address over a defined period, effectively rate-limiting bandwi.

3 min read

nftables Rate Limiting: Throttle Connections Per Second

Rate limiting connections per second in nftables is surprisingly effective because it operates at the packet-filtering layer, allowing you to drop unwan.

3 min read

nftables Save and Load: Persist Rules Across Reboots

nftables rules are ephemeral by default, meaning they vanish when the system restarts unless explicitly saved and reloaded.

2 min read

nftables Scripting: Automate Firewall Rules with Shell

Firewall rules aren't static; they're living, breathing entities that need constant tending. Let's see nftables in action, managing a simple web server

2 min read

nftables Named Sets: Group IPs and Ports for Reuse

nftables Named Sets: Group IPs and Ports for Reuse — practical guide covering nftables setup, configuration, and troubleshooting with real-world examples.

3 min read

nftables SSH Protection: Block Brute Force Attacks

The core issue is that SSH brute-force attempts are overwhelming your server's authentication mechanisms, leading to performance degradation or outright.

5 min read

nftables Stateful Firewall: Track Connections with conntrack

conntrack is the unsung hero of modern firewalls, letting them remember who's talking to whom so they don't have to re-evaluate every single packet.

3 min read

nftables SYN Cookies: Protect Against SYN Flood Attacks

SYN Cookies are a clever, albeit somewhat obscure, way to defend against SYN flood attacks at the TCP layer, implemented within nftables.

4 min read

nftables Systemd Service: Load Rules at Boot

The nftables systemd service fails to load rules at boot because it lacks explicit instruction on which rule set to load, defaulting to an empty configu.

4 min read

nftables Tables, Chains, Rules: Architecture Explained

nftables is a packet filtering framework that replaces the older iptables, ip6tables, and arptables. It's designed to be more efficient, flexible, and e.

3 min read

nftables TPROXY: Transparent Proxy Without Source NAT

The most surprising thing about nftables TPROXY is that it allows you to intercept and redirect network traffic to a proxy without needing to perform So.

3 min read

nftables on Ubuntu/Debian: Install and Configure

NFTables is the modern replacement for iptables on Linux, and it's the default firewall on recent Ubuntu and Debian releases.

4 min read

nftables Verdict Maps: Route Packets by Classification

nftables Verdict Maps: Route Packets by Classification — practical guide covering nftables setup, configuration, and troubleshooting with real-world exa...

3 min read

nftables VPN Firewall: Rules for WireGuard and OpenVPN

nftables VPN Firewall: Rules for WireGuard and OpenVPN — practical guide covering nftables setup, configuration, and troubleshooting with real-world exa...

2 min read

nftables vs iptables: Migrate Your Firewall Rules

Migrating from iptables to nftables isn't just a syntax change; it's a fundamental shift in how your firewall operates, offering a more unified and effi.

2 min read

nftables Web Server: Secure HTTP, HTTPS, and SSH Rules

nftables Web Server: Secure HTTP, HTTPS, and SSH Rules — practical guide covering nftables setup, configuration, and troubleshooting with real-world exa...

4 min read

nftables Atomic Rules: Replace Ruleset Without Downtime

You can replace your entire nftables ruleset without dropping a single packet. Here's how it works, using a hypothetical scenario where we're moving fro.

5 min read

nftables Basic Firewall: Stateful Rules in 10 Minutes

nftables Basic Firewall: Stateful Rules in 10 Minutes — practical guide covering nftables setup, configuration, and troubleshooting with real-world exam...

3 min read

nftables Bridge Filtering: Filter L2 Traffic

Bridging traffic at L2 with nftables is surprisingly powerful because it lets you apply firewall rules to packets before they're even handed off to an I.

3 min read

nftables on CentOS/RHEL: Install and Configure

On CentOS/RHEL, nftables isn't just a firewall; it's the modern replacement for iptables, offering a more structured and efficient way to manage network.

3 min read

nftables Cheatsheet: Every nft Command You Need

nftables Cheatsheet: Every nft Command You Need — practical guide covering nftables setup, configuration, and troubleshooting with real-world examples.

4 min read

nftables Complete Server Template: Production Ruleset

nftables is the modern Linux firewalling framework, replacing iptables. It's highly flexible, but that flexibility means you can easily create a configu.

4 min read

nftables connlimit: Limit Connections Per IP Address

nftables can limit the number of connections an IP address can establish to your server, which is a really effective way to mitigate basic DoS attacks o.

2 min read

nftables Counters: Monitor Traffic with Named Counters

nftables counters let you track traffic with human-readable names, making it way easier to understand what's going on than just raw byte/packet counts.

2 min read

nftables Debug: Trace Packet Processing Through Rules

nftables is a surprisingly complex beast, and sometimes you just need to see exactly what's happening to a packet as it navigates your ruleset.

2 min read

nftables Docker Rules: Manage Container Firewall Policies

Nftables, when integrated with Docker, allows for fine-grained control over container network traffic, acting as a more powerful and flexible alternativ.

2 min read

nftables Drop vs Reject: Choose the Right Default Policy

The most surprising thing about nftables' drop and reject is that reject can actually be more of a security risk than drop if you're not careful.

5 min read

nftables Expressions: Match Packets with Every Operator

nftables expressions are the core mechanism for defining packet matching rules, and they can do far more than just simple IP address checks.

5 min read

nftables Flow Tables: Hardware Offload for Performance

Flow tables in nftables are a game-changer for high-performance packet processing because they allow the data plane often hardware, like network interfa.

3 min read

nftables Forward Chain: Filter Routed Traffic

nftables is actually a userspace daemon that hooks into the kernel's netfilter framework, but it's the nft command-line tool that manipulates the rulese.

3 min read

nftables GeoIP Blocking: Block Countries by IP Range

nftables's GeoIP blocking isn't about looking up country codes in real-time for every single packet; it's about pre-populating your firewall rules with .

2 min read

nftables Getting Started: Replace iptables Today

nftables Getting Started: Replace iptables Today — practical guide covering nftables setup, configuration, and troubleshooting with real-world examples.

3 min read

nftables ICMP Rules: Allow ping and ICMPv6 Correctly

The most surprising thing about nftables ICMP filtering is how often it breaks the internet for you, even when you think you're doing it right.

5 min read

nftables inet Family: Single Ruleset for IPv4 and IPv6

The inet family in nftables isn't just a convenience; it's a fundamental shift that collapses the separate worlds of IPv4 and IPv6 into a single, unifie.

3 min read

nftables Input Chain: Secure Inbound Server Traffic

nftables is a packet filtering framework that can be used to implement a firewall. The input chain is responsible for filtering incoming network traffic.

4 min read

nftables Sets: ipset Equivalent for Grouped IPs

nftables sets are the direct successor to ipset for managing collections of IP addresses, networks, and other data for fast lookups in firewall rules.

4 min read

nftables Kubernetes: Manage CNI Firewall Rules

nftables is the successor to iptables for Linux packet filtering and firewalling. When used with Kubernetes, nftables is often the backend that the Cont.

4 min read

nftables Logging: Log Matched Packets to syslog

nftables can log packets that match specific rules to syslog, giving you visibility into network traffic and helping to debug firewall issues.

4 min read

nftables Mail Server: Firewall for SMTP, IMAP, DKIM

Mail servers are surprisingly bad at blocking spam without help, and nftables is a surprisingly flexible tool to give them that help.

3 min read

nftables Maps: Route and Mark Packets by Key

nftables maps offer a surprisingly powerful way to dynamically route or mark packets based on arbitrary keys derived from packet data.

3 min read

nftables Policy Routing: Mark Packets for Route Selection

Packet marking lets you steer traffic onto different paths through your network, not just based on destination IP, but on any criteria you can match.

2 min read

nftables Masquerade: NAT Gateway for Private Networks

The most surprising thing about nftables masquerading is that it's not a separate feature, but rather a specific application of its connection tracking .

3 min read

nftables NAT: Configure Masquerade and SNAT/DNAT

nftables NAT is more flexible than iptables, allowing you to define sophisticated network address translation rules with finer control, especially when .

2 min read

nftables netdev: Ingress Filtering Before Routing

nftables is dropping packets on the netdev ingress hook before they even get routed, and you're seeing NFDROP in your conntrack or xtables-multi output.

6 min read

nftables nft Command Reference: Every Subcommand

nftables isn't just a firewall; it's a fundamental networking packet-processing framework where rules are expressed as a language, not just a collection.

4 min read

nftables Output Chain: Control Outbound Traffic

nftables Output Chain: Control Outbound Traffic — practical guide covering nftables setup, configuration, and troubleshooting with real-world examples.

3 min read
ADHDecode

Complex topics, finally made simple

Courses

  • Networking
  • Databases
  • Linux
  • Distributed Systems
  • Containers & Kubernetes
  • System Design
  • All Courses →

Resources

  • Cheatsheets
  • Debugging
  • Articles
  • About
  • Privacy
  • Sitemap

Connect

  • Twitter (opens in new tab)
  • GitHub (opens in new tab)

Built for curious minds. Free forever.

© 2026 ADHDecode. All content is free.

  • Home
  • Learn
  • Courses
Esc
Start typing to search all courses...
See all results →
↑↓ navigate Enter open Esc close