1IPTABLES-SAVE(8) iptables 1.4.21 IPTABLES-SAVE(8)
2
3
4
6 iptables-save — dump iptables rules to stdout
7
8 ip6tables-save — dump iptables rules to stdout
9
11 iptables-save [-M,--modprobe modprobe] [-c] [-t table]
12
13 ip6tables-save [-M,--modprobe modprobe] [-c] [-t table]
14
16 iptables-save and ip6tables-save are used to dump the contents of IP or
17 IPv6 Table in easily parseable format to STDOUT. Use I/O-redirection
18 provided by your shell to write to a file.
19
20 -M,--modprobe modprobe_program
21 Specify the path to the modprobe program. By default, iptables-
22 save will inspect /proc/sys/kernel/modprobe to determine the
23 executable's path.
24
25 -c, --counters
26 include the current values of all packet and byte counters in
27 the output
28
29 -t, --table tablename
30 restrict output to only one table. If not specified, output
31 includes all available tables.
32
34 None known as of iptables-1.2.1 release
35
37 Harald Welte <laforge@gnumonks.org>
38 Rusty Russell <rusty@rustcorp.com.au>
39 Andras Kis-Szabo <kisza@sch.bme.hu> contributed ip6tables-save.
40
42 iptables-restore(8), iptables(8)
43
44 The iptables-HOWTO, which details more iptables usage, the NAT-HOWTO,
45 which details NAT, and the netfilter-hacking-HOWTO which details the
46 internals.
47
48
49
50iptables 1.4.21 IPTABLES-SAVE(8)