Blame iptables/iptables-save.8.in

Packit Service d1fe03
.TH IPTABLES-SAVE 8 "" "@PACKAGE_STRING@" "@PACKAGE_STRING@"
Packit Service d1fe03
.\"
Packit Service d1fe03
.\" Man page written by Harald Welte <laforge@gnumonks.org>
Packit Service d1fe03
.\" It is based on the iptables man page.
Packit Service d1fe03
.\"
Packit Service d1fe03
.\"	This program is free software; you can redistribute it and/or modify
Packit Service d1fe03
.\"	it under the terms of the GNU General Public License as published by
Packit Service d1fe03
.\"	the Free Software Foundation; either version 2 of the License, or
Packit Service d1fe03
.\"	(at your option) any later version.
Packit Service d1fe03
.\"
Packit Service d1fe03
.\"	This program is distributed in the hope that it will be useful,
Packit Service d1fe03
.\"	but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service d1fe03
.\"	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Packit Service d1fe03
.\"	GNU General Public License for more details.
Packit Service d1fe03
.\"
Packit Service d1fe03
.\"	You should have received a copy of the GNU General Public License
Packit Service d1fe03
.\"	along with this program; if not, write to the Free Software
Packit Service d1fe03
.\"	Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
Packit Service d1fe03
.\"
Packit Service d1fe03
.\"
Packit Service d1fe03
.SH NAME
Packit Service d1fe03
iptables-save \(em dump iptables rules
Packit Service d1fe03
.P
Packit Service d1fe03
ip6tables-save \(em dump iptables rules
Packit Service d1fe03
.SH SYNOPSIS
Packit Service d1fe03
\fBiptables\-save\fP [\fB\-M\fP \fImodprobe\fP] [\fB\-c\fP]
Packit Service d1fe03
[\fB\-t\fP \fItable\fP] [\fB\-f\fP \fIfilename\fP]
Packit Service d1fe03
.P
Packit Service d1fe03
\fBip6tables\-save\fP [\fB\-M\fP \fImodprobe\fP] [\fB\-c\fP]
Packit Service d1fe03
[\fB\-t\fP \fItable\fP] [\fB\-f\fP \fIfilename\fP]
Packit Service d1fe03
.SH DESCRIPTION
Packit Service d1fe03
.PP
Packit Service d1fe03
.B iptables-save
Packit Service d1fe03
and
Packit Service d1fe03
.B ip6tables-save
Packit Service d1fe03
are used to dump the contents of IP or IPv6 Table in easily parseable format
Packit Service d1fe03
either to STDOUT or to a specified file.
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-M\fR, \fB\-\-modprobe\fR \fImodprobe_program\fP
Packit Service d1fe03
Specify the path to the modprobe program. By default, iptables-save will
Packit Service d1fe03
inspect /proc/sys/kernel/modprobe to determine the executable's path.
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-f\fR, \fB\-\-file\fR \fIfilename\fP
Packit Service d1fe03
Specify a filename to log the output to. If not specified, iptables-save
Packit Service d1fe03
will log to STDOUT.
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-c\fR, \fB\-\-counters\fR
Packit Service d1fe03
include the current values of all packet and byte counters in the output
Packit Service d1fe03
.TP
Packit Service d1fe03
\fB\-t\fR, \fB\-\-table\fR \fItablename\fP
Packit Service d1fe03
restrict output to only one table. If the kernel is configured with automatic
Packit Service d1fe03
module loading, an attempt will be made to load the appropriate module for
Packit Service d1fe03
that table if it is not already there.
Packit Service d1fe03
.br
Packit Service d1fe03
If not specified, output includes all available tables.
Packit Service d1fe03
.SH BUGS
Packit Service d1fe03
None known as of iptables-1.2.1 release
Packit Service d1fe03
.SH AUTHORS
Packit Service d1fe03
Harald Welte <laforge@gnumonks.org>
Packit Service d1fe03
.br
Packit Service d1fe03
Rusty Russell <rusty@rustcorp.com.au>
Packit Service d1fe03
.br
Packit Service d1fe03
Andras Kis-Szabo <kisza@sch.bme.hu> contributed ip6tables-save.
Packit Service d1fe03
.SH SEE ALSO
Packit Service d1fe03
\fBiptables\-restore\fP(8), \fBiptables\fP(8)
Packit Service d1fe03
.PP
Packit Service d1fe03
The iptables-HOWTO, which details more iptables usage, the NAT-HOWTO,
Packit Service d1fe03
which details NAT, and the netfilter-hacking-HOWTO which details the
Packit Service d1fe03
internals.