How to Install and Uninstall iptables Package on Kali Linux

Last updated: May 03,2024

1. Install "iptables" package

Learn how to install iptables on Kali Linux

$ sudo apt update $ sudo apt install iptables

2. Uninstall "iptables" package

Please follow the steps below to uninstall iptables on Kali Linux:

$ sudo apt remove iptables $ sudo apt autoclean && sudo apt autoremove

3. Information about the iptables package on Kali Linux

Package: iptables
Version: 1.8.10-3
Installed-Size: 2414
Maintainer: Debian Netfilter Packaging Team
Architecture: amd64
Depends: libip4tc2 (= 1.8.10-3), libip6tc2 (= 1.8.10-3), libxtables12 (= 1.8.10-3), netbase (>= 6.0), libc6 (>= 2.34), libmnl0 (>= 1.0.3-4~), libnetfilter-conntrack3 (>= 1.0.6), libnfnetlink0 (>= 1.0.2), libnftnl11 (>= 1.1.6)
Recommends: nftables
Suggests: firewalld, kmod
Size: 362660
SHA256: 77e9ac3b344693a735b3969d7c6e5230ddc1083c0afb2b33746b283ec9e7dba0
SHA1: 315734cb1f7a90995717be22fa8c2561fe8f469a
MD5sum: 428738f13f04f9b17e1e96d88c4ba67a
Description: administration tools for packet filtering and NAT
The iptables/xtables framework has been replaced by nftables. You should
consider migrating now.
.
iptables is the userspace command line program used to configure
the Linux packet filtering and NAT ruleset. It is targeted towards systems
and networks administrators.
.
This package contains several different utilities, the most important ones:
.
iptables-nft, iptables-nft-save, iptables-nft-restore (nft-based version)
.
iptables-legacy, iptables-legacy-save, iptables-legacy-restore (legacy version)
.
ip6tables-nft, ip6tables-nft-save, ip6tables-nft-restore (nft-based version)
.
ip6tables-legacy, ip6tables-legacy-save, ip6tables-legacy-restore (legacy
version)
.
arptables-nft, arptables-nft-save, arptables-nft-restore (nft-based version)
.
ebtables-nft, ebtables-nft-save, ebtables-nft-restore (nft-based version)
Description-md5:
Multi-Arch: foreign
Homepage: https://www.netfilter.org/
Tag: admin::configuring, implemented-in::c, interface::commandline,
network::firewall, protocol::ethernet, protocol::ip, protocol::tcp,
protocol::udp, role::program, role::shared-lib, scope::utility,
security::firewall, use::monitor, works-with::network-traffic
Section: net
Priority: optional
Filename: pool/main/i/iptables/iptables_1.8.10-3_amd64.deb