IPTABLES-RESTORE(8)IPTABLES-RESTORE(8)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.
BUGS
None known as of iptables-1.2.1 release
AUTHOR
Harald Welte <laforge@gnumonks.org>
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.
Jan 04, 2001 IPTABLES-RESTORE(8)
Check Out this Related Man Page
IPTABLES-RESTORE(8) iptables 1.4.21 IPTABLES-RESTORE(8)NAME
iptables-restore -- Restore IP Tables
ip6tables-restore -- Restore IPv6 Tables
SYNOPSIS
iptables-restore [-chntv] [-M modprobe]
ip6tables-restore [-chntv] [-M modprobe] [-T name]
DESCRIPTION
iptables-restore and ip6tables-restore are used to restore IP and IPv6 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
-h, --help
Print a short option summary.
-n, --noflush
don't flush the previous contents of the table. If not specified, both commands flush (delete) all previous contents of the respec-
tive table.
-t, --test
Only parse and construct the ruleset, but do not commit it.
-v, --verbose
Print additional debug info during ruleset processing.
-M, --modprobe modprobe_program
Specify the path to the modprobe program. By default, iptables-restore will inspect /proc/sys/kernel/modprobe to determine the exe-
cutable's path.
-T, --table name
Restore only the named table even if the input stream contains other ones.
BUGS
None known as of iptables-1.2.1 release
AUTHORS
Harald Welte <laforge@gnumonks.org> wrote iptables-restore based on code from Rusty Russell.
Andras Kis-Szabo <kisza@sch.bme.hu> contributed ip6tables-restore.
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.
iptables 1.4.21 IPTABLES-RESTORE(8)
I'm having a problem with iptables, despite being an old hand with ipchains. I am getting the following message when I try to "start" my iptables:
I would usually say that one of the iptables kernel modules isn't loaded, especially if the `' actually read `nat' or `mangle' or something... (2 Replies)
Hi,
I am running CentOs 5 and every time i try to restart my iptables "service iptables restart", I get this error message:
Flushing firewall rules:
Setting chains to policy ACCEPT: filter
Unloading iptables modules: ... (1 Reply)
startup script displays a message:
# /etc/init.d/firewall start
Starting firewall: iptables
iptables v1.4.2: Can't use -i with OUTPUT
Try `iptables -h' or 'iptables --help' for more information.
iptables v1.4.2: Can't use -i with OUTPUT
not to understand what is wrong in the... (2 Replies)
hi experts,
I'm using Linux Centos kernel 2.6
Here is the print out of some my port :
tcp 0 0 127.0.0.1:10080 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:10081 0.0.0.0:* LISTEN
tcp 0 0... (4 Replies)
I wish to create an executable bash script that will run the following commands as root, that is, using sudo su
iptables-save | awk '/^
/ { print $1 }
/^:+ / { print $1 " ACCEPT" ; }
/COMMIT/ { print $0; }' | iptables-restoreMy first attempt at bash... (9 Replies)