iptables-restore
Restore the iptables IPv4 configuration. Use ip6tables-restore to do the same for IPv6. More information: <https://manned.org/iptables-restore>.
Install
- All systems
-
curl cmd.cat/iptables-restore.sh
- Debian
-
apt-get install iptables - Ubuntu
-
apt-get install iptables -
Alpine
-
apk add iptables - Arch Linux
-
pacman -S iptables - Kali Linux
-
apt-get install iptables - CentOS
-
yum install iptables - Fedora
-
dnf install iptables - Windows (WSL2)
-
sudo apt-get updatesudo apt-get install iptables - Raspbian
-
apt-get install iptables - Docker
-
docker run cmd.cat/iptables-restore iptables-restorepowered by Commando
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
© tl;dr; authors and contributors