Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

iptables-restore(8) [linux man page]

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)
Man Page

7 More Discussions You Might Find Interesting

1. IP Networking

same old, same old - and iptables problem

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)
Discussion started by: sam_pointer
2 Replies

2. UNIX for Dummies Questions & Answers

how to know the list of all commands supported by unix ?

how to know the list of all commands supported by unix. how to know the list of functions supported by unix. (4 Replies)
Discussion started by: Gopi Krishna P
4 Replies

3. UNIX for Advanced & Expert Users

Iptables error

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)
Discussion started by: skooly5
1 Replies

4. Debian

not run script firewall (lenny 5.0.4)

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)
Discussion started by: moskovets
2 Replies

5. UNIX for Advanced & Expert Users

how to open port in linux

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)
Discussion started by: justbow
4 Replies

6. Shell Programming and Scripting

How to create an executable bash script for these commands?

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)
Discussion started by: thixeqi
9 Replies

7. UNIX for Beginners Questions & Answers

Howto auto boot SPARC | How to auto supply "start /SYS" and "start /SP/console" commands

When I power ON my T4-1, I got a prompt -> where I have to start /SYS and start /SP/console. How can I auto supply these two commands ? (3 Replies)
Discussion started by: z_haseeb
3 Replies