commands.sh

iptables-restore

linux

Restore the `iptables` IPv4 configuration. Use `ip6tables-restore` to do the same for IPv6.

More info →

Examples (1)

Restore the `iptables` configuration from a file

sudo iptables-restore path/to/file
made by @shridhargupta | data from tldr-pages