How to Install and Uninstall iptables Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 15,2024

1. Install "iptables" package

Here is a brief guide to show you how to install iptables on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install iptables

2. Uninstall "iptables" package

This guide let you learn how to uninstall iptables on Ubuntu 20.10 (Groovy Gorilla):

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

3. Information about the iptables package on Ubuntu 20.10 (Groovy Gorilla)

Package: iptables
Architecture: amd64
Version: 1.8.5-3ubuntu2.20.10.2
Multi-Arch: foreign
Priority: standard
Section: net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Netfilter Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2840
Depends: libip4tc2 (= 1.8.5-3ubuntu2.20.10.2), libip6tc2 (= 1.8.5-3ubuntu2.20.10.2), libxtables12 (= 1.8.5-3ubuntu2.20.10.2), netbase (>= 6.0), libc6 (>= 2.29), libmnl0 (>= 1.0.3-4~), libnetfilter-conntrack3 (>= 1.0.8), libnfnetlink0, libnftnl11 (>= 1.1.5)
Suggests: firewalld, kmod, nftables
Breaks: iptables-nftables-compat (<< 1.6.2~)
Replaces: iptables-nftables-compat (<< 1.6.2~)
Filename: pool/main/i/iptables/iptables_1.8.5-3ubuntu2.20.10.2_amd64.deb
Size: 431996
MD5sum: 7b917589d0bc380c8db7d21d047752c6
SHA1: d226cda4a77cc99c5ff711fdece7ee04aaaaac1a
SHA256: 5815b7fce84d32da44614f54ea1125becd631d07af3fe1d54b69b73b318ffae8
SHA512: 8f6188a9d1bf86322cf9a578e15f49dc5fb6de07a7da37d6d76cd2d210c327303a3974006d9a93e0c8d4bed12641f90241acf8a583ab8e3dd70fe390585f17e0
Homepage: https://www.netfilter.org/
Description-en: 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: 36afb86c9baa5ee22ce73b982a9e4bf0
Task: standard

Package: iptables
Architecture: amd64
Version: 1.8.5-3ubuntu1
Multi-Arch: foreign
Priority: standard
Section: net
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Netfilter Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 2840
Depends: libip4tc2 (= 1.8.5-3ubuntu1), libip6tc2 (= 1.8.5-3ubuntu1), libxtables12 (= 1.8.5-3ubuntu1), netbase (>= 6.0), libc6 (>= 2.29), libmnl0 (>= 1.0.3-4~), libnetfilter-conntrack3 (>= 1.0.8), libnfnetlink0, libnftnl11 (>= 1.1.5)
Suggests: firewalld, kmod, nftables
Breaks: iptables-nftables-compat (<< 1.6.2~)
Replaces: iptables-nftables-compat (<< 1.6.2~)
Filename: pool/main/i/iptables/iptables_1.8.5-3ubuntu1_amd64.deb
Size: 432128
MD5sum: 3f63c72fb08f8f24339ca6d49e33c641
SHA1: 6acd6bd784f0ad5122a2e33068e9bae289e32a88
SHA256: b13fba139ec9a128fffbf83e605507c098845daa971c1e08b6e1a103ab8f40f8
SHA512: af4c0cbfd0e8168380006abac8cebbe52e08eb22ff8907b11b45294d1565c5a2436bc0fb3b0ff38eaeef9122f05946e919de939d1cbe1e15b9822ce00c062ed0
Homepage: https://www.netfilter.org/
Description-en: 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: 36afb86c9baa5ee22ce73b982a9e4bf0
Task: standard