1IPTABLES-RESTORE(8)             iptables 1.8.9             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 seconds] [-M modprobe] [-T name] [file]
12
13       ip6tables-restore [-chntvV] [-w seconds] [-M modprobe] [-T name] [file]
14

DESCRIPTION

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

BUGS

60       None known as of iptables-1.2.1 release
61

AUTHORS

63       Harald  Welte  <laforge@gnumonks.org>  wrote  iptables-restore based on
64       code from Rusty Russell.
65       Andras Kis-Szabo <kisza@sch.bme.hu> contributed ip6tables-restore.
66

SEE ALSO

68       iptables-apply(8), iptables-save(8), iptables(8)
69
70       The iptables-HOWTO, which details more iptables usage,  the  NAT-HOWTO,
71       which  details  NAT,  and the netfilter-hacking-HOWTO which details the
72       internals.
73
74
75
76iptables 1.8.9                                             IPTABLES-RESTORE(8)
Impressum