1IPTABLES-SAVE(8)                iptables 1.8.5                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 the kernel is configured
35              with automatic module loading, an attempt will be made  to  load
36              the  appropriate  module  for  that  table  if it is not already
37              there.
38              If not specified, output includes all available tables.
39

BUGS

41       None known as of iptables-1.2.1 release
42

AUTHORS

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

SEE ALSO

49       iptables-apply(8),iptables-restore(8), iptables(8)
50
51       The iptables-HOWTO, which details more iptables usage,  the  NAT-HOWTO,
52       which  details  NAT,  and the netfilter-hacking-HOWTO which details the
53       internals.
54
55
56
57iptables 1.8.5                                                IPTABLES-SAVE(8)
Impressum