Linux

  1. Home
  2. Computing & Technology
  3. Linux
Linux / Unix Command: iptables-restore
Command Library

NAME

iptables-restore - Restore IP Tables  

SYNOPSIS

iptables-restore [-c] [-n]
 

DESCRIPTION

iptables-restore is used to restore IP Tables from data specified on STDIN. Use I/O redirection provided by your shell to read from a file

-c, --counters
restore the values of all packet and byte counters
-n, --noflush
don't flush the previous contents of the table. If not specified,
iptables-restore flushes (deletes) all previous contents of the respective IP Table.
 

SEE ALSO

iptables-save(8), iptables(8)

The iptables-HOWTO, which details more iptables usage, the NAT-HOWTO, which details NAT, and the netfilter-hacking-HOWTO which details the internals.


Important: Use the man command (% man) to see how a command is used on your particular computer.

>> Linux/Unix Command Library

>> Shell Command Library

Explore Linux

About.com Special Features

Linux

  1. Home
  2. Computing & Technology
  3. Linux

©2009 About.com, a part of The New York Times Company.

All rights reserved.