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.
Tag | Description |
---|---|
-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. |
Advertisements |