iptables

Configure tables, chains and rules of the Linux kernel IPv4 firewall. Use ip6tables to set rules for IPv6 traffic. See also: iptables-save, iptables-restore. More information: <https://manned.org/iptables>.

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 on any operating system with command-not-found.com