Overview iptables-save [-c] [-ttable] indicates to dump the content of an IPTABLE to STDOUT (standard output) in a simple syntax format ). you can use the shell to provide I/0 redirection to write to a file-c, -- counters output contains the current value of all packets and byte counters-t, -- tabletablename only outputs the table overview of the specified table name
Iptables-Save [-c] [-t table]
Description
A simple syntax format is used to dump the content of an ip table to STDOUT (standard output ).
Use the shell to provide I/0 redirection to write to a file.
-C, -- counters
The output contains the current values of all packets and byte counters.
-T, -- table tablename
Only the table with the specified table name is output. if not specified, all available tables are output.
Bugs
Not found in iptables-1.2.1 release
Author
Harald Welte
See
Iptables-restore (, iptables (
The iptables-HOWTO details more iptable usage
The NAT-HOWTO details nat
The Netfilter-hacking-HOWTO details the nature
IPTABLES-RESTORE (IPTABLES-RESTORE (
Overview
Iptables-restore [-c] [-n]
Description
Iptables-restore is used to restore the IP Table through the data specified on STDIN (standard input.
The I/O redirection function provided by your shell reads from a file.
-C, -- counters
Restore the current value of all packages and byte counters
-N, -- noflush
Do not delete the previous content in the table. If this parameter is not specified, iptables-restore will clear (delete) all
The content in the previous table.
Bugs
Not found in iptables-1.2.1 release
Author
Harald Welte
See
Iptables-restore (, iptables (
The iptables-HOWTO details more iptable usage
The NAT-HOWTO details nat
The Netfilter-hacking-HOWTO details the nature
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.