How To Install iptables-utils on Fedora 36

In this tutorial we learn how to install iptables-utils in Fedora 36. iptables-utils is iptables and ip6tables misc utilities

Introduction

In this tutorial we learn how to install iptables-utils on Fedora 36.

What is iptables-utils

Utils for iptables This package provides nfnl_osf with the pf.os database and nfbpf_compile, a bytecode generator for use with xt_bpf. Also included is iptables-apply, a safer way to update iptables remotely.

We can use yum or dnf to install iptables-utils on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install iptables-utils.

Install iptables-utils on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install iptables-utils using dnf by running the following command:

sudo dnf -y install iptables-utils

Install iptables-utils on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install iptables-utils using yum by running the following command:

sudo yum -y install iptables-utils

How To Uninstall iptables-utils on Fedora 36

To uninstall only the iptables-utils package we can use the following command:

sudo dnf remove iptables-utils

iptables-utils Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/06
/usr/lib/.build-id/06/846290dd8b473dc97f10638a03f10b6bd335cf
/usr/lib/.build-id/4d/32aab5927a36406d05b5cbf5387e6cf42fdfca
/usr/sbin/ip6tables-apply
/usr/sbin/iptables-apply
/usr/sbin/nfbpf_compile
/usr/sbin/nfnl_osf
/usr/share/licenses/iptables-utils
/usr/share/licenses/iptables-utils/COPYING
/usr/share/man/man8/ip6tables-apply.8.gz
/usr/share/man/man8/iptables-apply.8.gz
/usr/share/man/man8/nfbpf_compile.8.gz
/usr/share/man/man8/nfnl_osf.8.gz
/usr/share/xtables
/usr/share/xtables/pf.os

References

Summary

In this tutorial we learn how to install iptables-utils on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).