tldr/pages/linux/iptables-restore.md

10 lines
270 B
Markdown
Raw Normal View History

# iptables-restore
> Restore the `iptables` IPv4 configuration.
> Use `ip6tables-restore` to do the same for IPv6.
> More information: <https://manned.org/iptables-restore>.
- Restore the `iptables` configuration from a file:
`sudo iptables-restore {{path/to/file}}`