mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
15 lines
362 B
Plaintext
15 lines
362 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|