# iptables-restore > 恢复 `iptables` IPv4 配置。 > 使用 `ip6tables-restore` 来恢复 IPv6 配置。 > 更多信息:。 - 从文件中恢复 `iptables` 配置: `sudo iptables-restore {{path/to/file}}`