1IPTABLES-RESTORE(8) iptables 1.8.8 IPTABLES-RESTORE(8)
2
3
4
6 iptables-restore — Restore IP Tables
7
8 ip6tables-restore — Restore IPv6 Tables
9
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
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. Specify
39 multiple times to increase debug level.
40
41 -V, --version
42 Print the program version number.
43
44 -w, --wait [seconds]
45 Wait for the xtables lock. To prevent multiple instances of the
46 program from running concurrently, an attempt will be made to
47 obtain an exclusive lock at launch. By default, the program
48 will exit if the lock cannot be obtained. This option will make
49 the program wait (indefinitely or for optional seconds) until
50 the exclusive lock can be obtained.
51
52 -M, --modprobe modprobe_program
53 Specify the path to the modprobe program. By default, iptables-
54 restore will inspect /proc/sys/kernel/modprobe to determine the
55 executable's path.
56
57 -T, --table name
58 Restore only the named table even if the input stream contains
59 other ones.
60
62 None known as of iptables-1.2.1 release
63
65 Harald Welte <laforge@gnumonks.org> wrote iptables-restore based on
66 code from Rusty Russell.
67 Andras Kis-Szabo <kisza@sch.bme.hu> contributed ip6tables-restore.
68
70 iptables-apply(8),iptables-save(8), iptables(8)
71
72 The iptables-HOWTO, which details more iptables usage, the NAT-HOWTO,
73 which details NAT, and the netfilter-hacking-HOWTO which details the
74 internals.
75
76
77
78iptables 1.8.8 IPTABLES-RESTORE(8)