1 .TH IPTABLES-RESTORE 8 "" "iptables 1.4.21" "iptables 1.4.21"
3 .\" Man page written by Harald Welte <laforge@gnumonks.org>
4 .\" It is based on the iptables man page.
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.
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.
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.
22 iptables-restore \(em Restore IP Tables
24 ip6tables-restore \(em Restore IPv6 Tables
26 \fBiptables\-restore\fP [\fB\-chntv\fP] [\fB\-M\fP \fImodprobe\fP]
28 \fBip6tables\-restore\fP [\fB\-chntv\fP] [\fB\-M\fP \fImodprobe\fP]
29 [\fB\-T\fP \fIname\fP]
35 are used to restore IP and IPv6 Tables from data specified on STDIN. Use
36 I/O redirection provided by your shell to read from a file
38 \fB\-c\fR, \fB\-\-counters\fR
39 restore the values of all packet and byte counters
41 \fB\-h\fP, \fB\-\-help\fP
42 Print a short option summary.
44 \fB\-n\fR, \fB\-\-noflush\fR
45 don't flush the previous contents of the table. If not specified,
46 both commands flush (delete) all previous contents of the respective table.
48 \fB\-t\fP, \fB\-\-test\fP
49 Only parse and construct the ruleset, but do not commit it.
51 \fB\-v\fP, \fB\-\-verbose\fP
52 Print additional debug info during ruleset processing.
54 \fB\-M\fP, \fB\-\-modprobe\fP \fImodprobe_program\fP
55 Specify the path to the modprobe program. By default, iptables-restore will
56 inspect /proc/sys/kernel/modprobe to determine the executable's path.
58 \fB\-T\fP, \fB\-\-table\fP \fIname\fP
59 Restore only the named table even if the input stream contains other ones.
61 None known as of iptables-1.2.1 release
63 Harald Welte <laforge@gnumonks.org> wrote iptables-restore based on code
66 Andras Kis-Szabo <kisza@sch.bme.hu> contributed ip6tables-restore.
68 \fBiptables\-save\fP(8), \fBiptables\fP(8)
70 The iptables-HOWTO, which details more iptables usage, the NAT-HOWTO,
71 which details NAT, and the netfilter-hacking-HOWTO which details the