# trimstray/iptables-essentials

Iptables Essentials: Common Firewall Rules and Commands.

Repository: https://github.com/trimstray/iptables-essentials
Canonical: https://ross.abutalabs.com/products/iptables-essentials
License: MIT
License Family: permissive
Topics: iptables, iptables-rules, iptables-configurations, iptables-firewall, firewall, firewall-rules, firewall-configuration
Last push: 2024-11-19T13:59:50+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2941, "days_push": 652, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1590, forks 290 (observed 2026-08-28T04:05:08.527240+00:00)

## What it is
A curated reference guide of common iptables firewall rules, commands, and kernel (sysctl) settings for Linux. It serves as a practical cheatsheet for configuring, inspecting, and managing firewall rules on Linux servers.

## Use cases
- find the iptables command to block an IP address
- learn how to allow established connections through the firewall
- flush all iptables rules and reset chains
- configure sysctl kernel settings for network hardening
- save and restore iptables rules on Debian or RedHat
- list active firewall rules with verbose output
- set up NAT forwarding between internal and external interfaces

## When to choose
- you need quick copy-paste iptables commands for common firewall tasks
- you are a sysadmin hardening a Linux server's network stack
- you want a reference for sysctl network security settings

## When to avoid
- you need a tool that manages firewall rules automatically
- you use nftables or firewalld rather than iptables
- you need a GUI firewall manager

## Facets
- artifact type: learning-resource
- maturity: stable
- function: security, networking, developer-tools
- domain: security, networking, self-hosted, tutorials
- platform: -
- tags: iptables, firewall, firewall-rules, sysctl, cheatsheet, reference, devops, linux

## Member repositories
- trimstray/iptables-essentials (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:08.527240+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:54:48.760131+00:00, confidence not recorded.
  - readme: https://github.com/trimstray/iptables-essentials (fetched 2026-08-28T04:05:08.527240+00:00, sha 156b66f13837)
- Data as of 2026-08-30T08:39:29.467469+00:00.
