Originariamente inviato da U-bahn
#iptables -L
#iptables -t nat -L
direttamente dal man di iptables-save:
codice:
IPTABLES-SAVE(8) IPTABLES-SAVE(8)
NAME
iptables-save - Save IP Tables
SYNOPSIS
iptables-save [-c] [-t table]
DESCRIPTION
iptables-save is used to dump the contents of an IP Table in easily
parseable format to STDOUT. Use I/O-redirection provided by your shell
to write to a file.
-c, --counters
include the current values of all packet and byte counters in
the output
-t, --table tablename
restrict output to only one table. If not specified, output includes
all
available tables.
è un comando "fatto apposta", quindi non inorridire