GNU/Linux |
CentOS 5.6 |
|
![]() |
iptables-restore(8) |
![]() |
iptables-restore − Restore IP Tables
iptables-restore [-b] [-c] [-v] [-t] [-h] [-n]
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).
None known as of iptables-1.2.1 release
Harald Welte <laforge@gnumonks.org>
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.
![]() |
iptables-restore(8) | ![]() |