iptables-restore

Restore the iptables IPv4 configuration. Use ip6tables-restore to do the same for IPv6. More information: <https://manned.org/iptables-restore>.

Debian Debian
RUN apt-get update && \ apt-get install -y iptables
Ubuntu
RUN apt-get update && \ apt-get install -y iptables
Alpine
RUN apk add iptables
Arch Arch Linux
RUN pacman -S --noconfirm iptables
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y iptables
CentOS
RUN yum install -y iptables
Fedora
RUN dnf install -y iptables
Raspbian
RUN apt-get update && \ apt-get install -y iptables
click the source code to copy install iptables-restore on any operating system with command-not-found.com