1IPTABLES-RESTORE(8)             iptables 1.8.4             IPTABLES-RESTORE(8)
2
3
4

NAME

6       iptables-restore — Restore IP Tables
7
8       ip6tables-restore — Restore IPv6 Tables
9

SYNOPSIS

11       iptables-restore [-chntvV] [-w secs] [-W usecs] [-M modprobe] [-T name]
12       [file]
13
14       ip6tables-restore [-chntvV] [-w secs]  [-W  usecs]  [-M  modprobe]  [-T
15       name] [file]
16

DESCRIPTION

18       iptables-restore  and ip6tables-restore are used to restore IP and IPv6
19       Tables from data specified on STDIN or in  file.  Use  I/O  redirection
20       provided  by your shell to read from a file or specify file as an argu‐
21       ment.
22
23       -c, --counters
24              restore the values of all packet and byte counters
25
26       -h, --help
27              Print a short option summary.
28
29       -n, --noflush
30              don't flush the previous contents of the table.  If  not  speci‐
31              fied,  both commands flush (delete) all previous contents of the
32              respective table.
33
34       -t, --test
35              Only parse and construct the ruleset, but do not commit it.
36
37       -v, --verbose
38              Print additional debug info during ruleset processing.
39
40       -V, --version
41              Print the program version number.
42
43       -w, --wait [seconds]
44              Wait for the xtables lock.  To prevent multiple instances of the
45              program  from  running  concurrently, an attempt will be made to
46              obtain an exclusive lock at launch.   By  default,  the  program
47              will exit if the lock cannot be obtained.  This option will make
48              the program wait (indefinitely or for  optional  seconds)  until
49              the exclusive lock can be obtained.
50
51       -W, --wait-interval microseconds
52              Interval  to wait per each iteration.  When running latency sen‐
53              sitive applications, waiting for the xtables lock  for  extended
54              durations  may  not  be  acceptable.  This option will make each
55              iteration take the amount of time specified. The default  inter‐
56              val is 1 second. This option only works with -w.
57
58       -M, --modprobe modprobe_program
59              Specify  the path to the modprobe program. By default, iptables-
60              restore will inspect /proc/sys/kernel/modprobe to determine  the
61              executable's path.
62
63       -T, --table name
64              Restore  only  the named table even if the input stream contains
65              other ones.
66

BUGS

68       None known as of iptables-1.2.1 release
69

AUTHORS

71       Harald Welte <laforge@gnumonks.org>  wrote  iptables-restore  based  on
72       code from Rusty Russell.
73       Andras Kis-Szabo <kisza@sch.bme.hu> contributed ip6tables-restore.
74

SEE ALSO

76       iptables-save(8), iptables(8)
77
78       The  iptables-HOWTO,  which details more iptables usage, the NAT-HOWTO,
79       which details NAT, and the netfilter-hacking-HOWTO  which  details  the
80       internals.
81
82
83
84iptables 1.8.4                                             IPTABLES-RESTORE(8)
Impressum