1IPTABLES-SAVE(8)                iptables 1.8.0                IPTABLES-SAVE(8)
2
3
4

NAME

6       iptables-save — dump iptables rules
7
8       ip6tables-save — dump iptables rules
9

SYNOPSIS

11       iptables-save [-M modprobe] [-c] [-t table] [-f filename]
12
13       ip6tables-save [-M modprobe] [-c] [-t table] [-f filename]
14

DESCRIPTION

16       iptables-save and ip6tables-save are used to dump the contents of IP or
17       IPv6 Table in easily parseable format either to STDOUT or to  a  speci‐
18       fied 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       -f, --file filename
26              Specify a filename to log the output to. If not specified, ipta‐
27              bles-save will log to STDOUT.
28
29       -c, --counters
30              include the current values of all packet and  byte  counters  in
31              the output
32
33       -t, --table tablename
34              restrict  output  to  only  one  table. If not specified, output
35              includes all available tables.
36

BUGS

38       None known as of iptables-1.2.1 release
39

AUTHORS

41       Harald Welte <laforge@gnumonks.org>
42       Rusty Russell <rusty@rustcorp.com.au>
43       Andras Kis-Szabo <kisza@sch.bme.hu> contributed ip6tables-save.
44

SEE ALSO

46       iptables-restore(8), iptables(8)
47
48       The iptables-HOWTO, which details more iptables usage,  the  NAT-HOWTO,
49       which  details  NAT,  and the netfilter-hacking-HOWTO which details the
50       internals.
51
52
53
54iptables 1.8.0                                                IPTABLES-SAVE(8)
Impressum