Skip to content
Projects

Nudin/iptable_vis has 718 GitHub stars and 47 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-15 18:38 UTC. Last push 2023-07-20.

How these counts are measured

Measured star growth

in 24h
0
in 7 days
Update delayed
in 15 days
Update delayed
in 1 month
Update delayed

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

About

visualise your iptables chains

Developer Tools

README.md

Original

iptables-vis – visualise iptables chains

This script reads iptables output and generates a nice flow chart. Works with all tables and chains.

Example

Usage

  • Clone repo, make sure awk is installed, install blockdiag
  • iptables -v -L > iptables.txt
  • awk -f iptables-vis.awk < iptables.txt > iptables.dia
  • blockdiag iptables.dia -T svg -o iptables.svg

To display only selected chains (supports regexp):

awk -f iptables-vis.awk -v 'chain_selector=INPUT|OUTPUT|mychain' < iptables.txt > iptables.dia

To also render empty chains:

awk -f iptables-vis.awk -v 'include_empty_chains=1 < iptables.txt > iptables.dia'

Legend

Legend