UNPKG

490 BMarkdownView Raw
1iptables-restore
2===
3
4还原iptables表的配置
5
6## 补充说明
7
8**iptables-restore命令** 用来还原iptables-save命令所备份的iptables配置。
9
10### 语法
11
12```shell
13iptables-restore(选项)
14```
15
16### 选项
17
18```shell
19-c:指定在还原iptables表时候,还原当前的数据包计数器和字节计数器的值;
20-t:指定要还原表的名称。
21```
22
23### 实例
24
25```shell
26iptables-restore < iptables.bak
27```
28
29iptables.bak是iptables-save命令所备份的文件。
30
31
32