iptables-restore(8) - Linux man page

Name

iptables-restore - Restore IP Tables

Synopsis

iptables-restore [-b] [-c] [-v] [-t] [-h] [-n]

Description

iptables-restore is used to restore IP Tables from data specified on STDIN. Use I/O redirection provided by your shell to read from a file

-b, --binary
not implemented.
-c, --counters
restore the values of all packet and byte counters
-v, --verbose
verbose output.
-t, --test
do not commit, test only.
-h, --help
print a help message and exit.
-n, --noflush
don't flush the previous contents of the table. If not specified, iptables-restore flushes (deletes) all previous contents of the respective IP Table.
--modprobe=command
when adding or inserting rules into a chain, use command to load any necessary modules (targets, match extensions, etc).

Bugs

None known as of iptables-1.2.1 release

Author

Harald Welte <laforge@gnumonks.org>

See Also

iptables-save(8), iptables(8)

The iptables-HOWTO, which details more iptables usage, the NAT-HOWTO, which details NAT, and the netfilter-hacking-HOWTO which details the internals.

Referenced By

arptables(8), ferm(1), ip6tables(8), ip6tables-1.4.7(8), iptables-1.4.7(8), iptables-save-1.4.7(8), iptables-xml-1.4.7(8)