📦 Installation Command
apt install iptables iptables-persistent
Classic Linux packet filtering. Still widely used, being replaced by nftables.
apt install iptables iptables-persistent
/etc/iptables/rules.v4/etc/iptables/rules.v6/etc/iptablesN/A (kernel)/var/log/syslog/etc/iptables/rules.v4Use iptables-persistent to save rules, always allow established connections first, log before drop