iptables-restore

Restore the configuration of the iptables table

Supplementary instructions

iptables-restore command is used to restore the iptables configuration backed up by the iptables-save command.

grammar

iptables-restore (options)

Options

-c: Specifies to restore the current packet counter and byte counter values when restoring the iptables table;
-t: Specifies the name of the table to be restored.

Example

iptables-restore < iptables.bak

iptables.bak is the file backed up by the iptables-save command.

继续阅读

接下来你可能需要这些内容

优先推荐相关内容,同时保留你的阅读轨迹和收藏入口。