# iptables-restore

还原iptables表的配置

## 补充说明

**iptables-restore命令** 用来还原iptables-save命令所备份的iptables配置。

### 语法

```
iptables-restor(选项)
```

### 选项

```
-c：指定在还原iptables表时候，还原当前的数据包计数器和字节计数器的值；
-t：指定要还原表的名称。
```

### 实例

```
iptables-restor < iptables.bak
```

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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hezhiqiang.gitbook.io/linux/ming-ling/iptables-restore.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
