Linux命令 iptables-restore - 還原iptables表的配置

2021-11-17 17:32 更新

iptables-restore

還原iptables表的配置

補充說明

iptables-restore命令 用來還原iptables-save命令所備份的iptables配置。

語法

iptables-restore(選項)

選項

-c:指定在還原iptables表時候,還原當前的數(shù)據(jù)包計數(shù)器和字節(jié)計數(shù)器的值;
-t:指定要還原表的名稱。

實例

iptables-restore < iptables.bak

iptables.bak是iptables-save命令所備份的文件。


以上內(nèi)容是否對您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號
微信公眾號

編程獅公眾號