| lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | .TH IPTABLES-RESTORE 8 "Jan 04, 2001" "" "" | 
 | 2 | .\" | 
 | 3 | .\" Man page written by Harald Welte <laforge@gnumonks.org> | 
 | 4 | .\" It is based on the iptables man page. | 
 | 5 | .\" | 
 | 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 | 
 | 22 | iptables-restore \- Restore IP Tables | 
 | 23 | .SH SYNOPSIS | 
 | 24 | .BR "iptables-restore " "[-c] [-n]" | 
 | 25 | .br | 
 | 26 | .SH DESCRIPTION | 
 | 27 | .PP | 
 | 28 | .B iptables-restore | 
 | 29 | is used to restore IP Tables from data specified on STDIN. Use  | 
 | 30 | I/O redirection provided by your shell to read from a file | 
 | 31 | .TP | 
 | 32 | \fB\-c\fR, \fB\-\-counters\fR | 
 | 33 | restore the values of all packet and byte counters | 
 | 34 | .TP | 
 | 35 | \fB\-n\fR, \fB\-\-noflush\fR  | 
 | 36 | don't flush the previous contents of the table. If not specified,  | 
 | 37 | .B iptables-restore | 
 | 38 | flushes (deletes) all previous contents of the respective IP Table. | 
 | 39 | .SH BUGS | 
 | 40 | None known as of iptables-1.2.1 release | 
 | 41 | .SH AUTHOR | 
 | 42 | Harald Welte <laforge@gnumonks.org> | 
 | 43 | .SH SEE ALSO | 
 | 44 | .BR iptables-save "(8), " iptables "(8) " | 
 | 45 | .PP | 
 | 46 | The iptables-HOWTO, which details more iptables usage, the NAT-HOWTO, | 
 | 47 | which details NAT, and the netfilter-hacking-HOWTO which details the | 
 | 48 | internals. |