Hands-on guide series

Firewalls with nftables: A Hands-On Guide

A five-part, hands-on guide to building a firewall with nftables on a single VPS: the family, table and chain model that replaced iptables, a safe policy-drop base ruleset that keeps your SSH session alive, sets, maps and rate limiting, NAT with port forwarding and logging, and persistence with a dry-run and a dead-man revert. Every command tested on a live Ubuntu 24.04 server.

5 parts38 min totalBy Amith Kumar