1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2024-10-28 15:39:46 +01:00
tldr/pages/linux/iptables-restore.md
Lena 7de6d9b69f
iptables: update page; ip6tables, ip{6,}tables-{restore,save}: add page (#10715)
* iptables: update page

* iptables-{restore,save}: add page

* ip6tables, ip6tables-{restore,save}: add alias page

* iptables-save: remove trailing whitespace
2023-09-18 11:57:51 +08:00

270 B

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}}