Iptables-Save & Restore

xiaoxiao2021-03-05  26

Iptables-save (8)

Summation

iptables-save [-c] [-t table]

Description

Dump with a simple syntax format to stdout (standard output).

Use the shell to provide I / 0 redirection to a file

-c, - --counters

The current value of all packets and byte counters are included in the output.

-T, - Table TableName

Only output the table of the specified table name, if no specified, all available tables will be output

Summation

iptables-restore [-c] [-n]

Description

The role of iptables-restore is to recover IP TABLE by stdin (standard input).

The I / O redirection feature provided by your shell is read from a file.

-c, - --counters

Restore the current value of all packets and byte counters

-n, --noflush

Do not delete the previous content in the table, if not specified (this parameter), iptables-restore will empty (delete) all

In the previous table.

转载请注明原文地址:https://www.9cbs.com/read-33560.html

New Post(0)