How to Install and Uninstall iptables-nftables-compat Package on Ubuntu 16.04 LTS (Xenial Xerus)

Last updated: May 19,2024

1. Install "iptables-nftables-compat" package

This is a short guide on how to install iptables-nftables-compat on Ubuntu 16.04 LTS (Xenial Xerus)

$ sudo apt update $ sudo apt install iptables-nftables-compat

2. Uninstall "iptables-nftables-compat" package

This tutorial shows how to uninstall iptables-nftables-compat on Ubuntu 16.04 LTS (Xenial Xerus):

$ sudo apt remove iptables-nftables-compat $ sudo apt autoclean && sudo apt autoremove

3. Information about the iptables-nftables-compat package on Ubuntu 16.04 LTS (Xenial Xerus)

Package: iptables-nftables-compat
Priority: optional
Section: universe/net
Installed-Size: 306
Maintainer: Ubuntu Developers
Original-Maintainer: iptables devel team
Architecture: amd64
Source: iptables
Version: 1.6.0-2ubuntu3
Replaces: iptables-dev (<< 1.6.0-2ubuntu3)
Depends: arptables, ebtables, iptables (= 1.6.0-2ubuntu3), libxtables11 (= 1.6.0-2ubuntu3), libc6 (>= 2.15), libmnl0 (>= 1.0.3-4~), libnftnl4 (>= 1.0.5)
Recommends: nftables
Filename: pool/universe/i/iptables/iptables-nftables-compat_1.6.0-2ubuntu3_amd64.deb
Size: 76842
MD5sum: e581676aec6685156d09f2788dfeafce
SHA1: 0221392e7bfb2203c278de232bebe269355e3c27
SHA256: c196e1f7a56e9e7c2bf3330b92422744b986039a7256035cf55677ad777d9b7d
Description-en: iptables compat tools for nftables
this package includes the compat tools to load iptables, ip6tables, arptables
and ebtables rules to the nf_tables kernel subsystem.
.
The tools are called: 'iptables-compat', 'iptables-compat-save',
'iptables-compat-restore', 'ip6tables-compat', 'ip6tables-compat-save',
'ip6tables-compat-restore', 'arptables-compat' and 'ebtables-compat'.
.
A basic way to understand this compat stuff is to load the ruleset
skeleton, i.e: a first call `iptables-compat -L'. Then, you can use nft,
i.e: `nft list ruleset'. Same for the other families.
Description-md5: 473f5588013b4f9c884d798b89b4cc95
Homepage: http://www.netfilter.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu