blob: a52bcebe60e9c1fbc12cd0caa858c93f26f90ad7 [file] [log] [blame]
Harald Welte117341a2001-01-05 13:54:24 +00001.TH IPTABLES-RESTORE 8 "Jan 04, 2001" "" ""
2.\"
3.\" Man page written by Harald Welte <laforge@gnumonks.org>
Fabrice MARIEb0d84602002-06-14 07:39:58 +00004.\" It is based on the iptables man page.
Harald Welte117341a2001-01-05 13:54:24 +00005.\"
6.\" This program is free software; you can redistribute it and/or modify
7.\" it under the terms of the GNU General Public License as published by
8.\" the Free Software Foundation; either version 2 of the License, or
9.\" (at your option) any later version.
10.\"
11.\" This program is distributed in the hope that it will be useful,
12.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
13.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14.\" GNU General Public License for more details.
15.\"
16.\" You should have received a copy of the GNU General Public License
17.\" along with this program; if not, write to the Free Software
18.\" Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19.\"
20.\"
21.SH NAME
Jan Engelhardt352ccfb2009-08-20 17:15:22 +020022iptables-restore \(em Restore IP Tables
Harald Welte117341a2001-01-05 13:54:24 +000023.SH SYNOPSIS
Jan Engelhardt352ccfb2009-08-20 17:15:22 +020024\fBiptables\-restore\fP [\fB\-c\fP] [\fB\-n\fP]
Harald Welte117341a2001-01-05 13:54:24 +000025.SH DESCRIPTION
26.PP
27.B iptables-restore
28is used to restore IP Tables from data specified on STDIN. Use
29I/O redirection provided by your shell to read from a file
30.TP
31\fB\-c\fR, \fB\-\-counters\fR
32restore the values of all packet and byte counters
33.TP
34\fB\-n\fR, \fB\-\-noflush\fR
Harald Welte117341a2001-01-05 13:54:24 +000035don't flush the previous contents of the table. If not specified,
36.B iptables-restore
37flushes (deletes) all previous contents of the respective IP Table.
38.SH BUGS
Harald Welte9f7fa492001-03-15 15:12:02 +000039None known as of iptables-1.2.1 release
Harald Welte117341a2001-01-05 13:54:24 +000040.SH AUTHOR
41Harald Welte <laforge@gnumonks.org>
42.SH SEE ALSO
Jan Engelhardt352ccfb2009-08-20 17:15:22 +020043\fBiptables\-save\fP(8), \fBiptables\fP(8)
Harald Welte117341a2001-01-05 13:54:24 +000044.PP
45The iptables-HOWTO, which details more iptables usage, the NAT-HOWTO,
46which details NAT, and the netfilter-hacking-HOWTO which details the
47internals.