How To Install iptables-nft on Fedora 36

In this tutorial we learn how to install iptables-nft in Fedora 36. iptables-nft is nftables compatibility for iptables, arptables and ebtables

Introduction

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

What is iptables-nft

nftables compatibility for iptables, arptables and ebtables.

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

Install iptables-nft 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-nft using dnf by running the following command:

sudo dnf -y install iptables-nft

Install iptables-nft 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-nft using yum by running the following command:

sudo yum -y install iptables-nft

How To Uninstall iptables-nft on Fedora 36

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

sudo dnf remove iptables-nft

iptables-nft Package Contents on Fedora 36

/usr/lib/.build-id
/usr/lib/.build-id/03
/usr/lib/.build-id/03/570a788de24cafa45f0e62bdb82be46b4ad0d2
/usr/lib/.build-id/09/224ff1be6b23aeeab4c661b3002de6bad8e70d
/usr/lib/.build-id/10
/usr/lib/.build-id/10/7f18b3a4b38bcd80700b96fa1ef279c6496f93
/usr/lib/.build-id/1c
/usr/lib/.build-id/1c/55bc0ed0f98b98dd699a577da410778c4820fe
/usr/lib/.build-id/34/1308155f99afb98a6bac39dc38aec4ff06b790
/usr/lib/.build-id/34/b1024cdd1527e7ff66136a2d46be009d2a5ae3
/usr/lib/.build-id/4a/268e57891810fe7fb0832926f157e14c18a851
/usr/lib/.build-id/51/86c1ba89d7dd4424d2392c64f47d96ec209237
/usr/lib/.build-id/76/3e02a615d6ed277141b3900c8d452ff0ddeaa1
/usr/lib/.build-id/96
/usr/lib/.build-id/96/048a78334646e7f5839437debb269484dc901c
/usr/lib/.build-id/b0
/usr/lib/.build-id/b0/2ece2e82daf2f0c633f7da5e48c1bc0f7068ff
/usr/lib/.build-id/b3
/usr/lib/.build-id/b3/e99f7f2e895897ac41647bb0d463d42a4a7f69
/usr/lib/.build-id/be
/usr/lib/.build-id/be/49cab7872ea92ef6ebe9017c132a2645ef1148
/usr/lib/.build-id/c3
/usr/lib/.build-id/c3/82af41a470bbb9246c0ed37ef6aab17e240c97
/usr/lib/.build-id/c6/e187c17128b9c8d5cbb20c6ff4c156364c4fbe
/usr/lib/.build-id/d4
/usr/lib/.build-id/d4/b2426527a32f3dbb17f2d630c66ad50e54c1cb
/usr/lib/.build-id/f7
/usr/lib/.build-id/f7/29c6aafa84033d39f71fb4ca39e8eee6850923
/usr/lib/.build-id/ff/1e7177d2eb09375bc3651c0fea5413499faaa8
/usr/lib64/xtables
/usr/lib64/xtables/libarpt_mangle.so
/usr/lib64/xtables/libebt_802_3.so
/usr/lib64/xtables/libebt_among.so
/usr/lib64/xtables/libebt_arp.so
/usr/lib64/xtables/libebt_arpreply.so
/usr/lib64/xtables/libebt_dnat.so
/usr/lib64/xtables/libebt_ip.so
/usr/lib64/xtables/libebt_ip6.so
/usr/lib64/xtables/libebt_log.so
/usr/lib64/xtables/libebt_mark.so
/usr/lib64/xtables/libebt_mark_m.so
/usr/lib64/xtables/libebt_nflog.so
/usr/lib64/xtables/libebt_pkttype.so
/usr/lib64/xtables/libebt_redirect.so
/usr/lib64/xtables/libebt_snat.so
/usr/lib64/xtables/libebt_stp.so
/usr/lib64/xtables/libebt_vlan.so
/usr/libexec/arptables-helper
/usr/libexec/arptables-nft-helper
/usr/sbin/arptables
/usr/sbin/arptables-nft
/usr/sbin/arptables-nft-restore
/usr/sbin/arptables-nft-save
/usr/sbin/arptables-restore
/usr/sbin/arptables-save
/usr/sbin/ebtables
/usr/sbin/ebtables-nft
/usr/sbin/ebtables-nft-restore
/usr/sbin/ebtables-nft-save
/usr/sbin/ebtables-restore
/usr/sbin/ebtables-save
/usr/sbin/ip6tables
/usr/sbin/ip6tables-nft
/usr/sbin/ip6tables-nft-restore
/usr/sbin/ip6tables-nft-save
/usr/sbin/ip6tables-restore
/usr/sbin/ip6tables-restore-translate
/usr/sbin/ip6tables-save
/usr/sbin/ip6tables-translate
/usr/sbin/iptables
/usr/sbin/iptables-nft
/usr/sbin/iptables-nft-restore
/usr/sbin/iptables-nft-save
/usr/sbin/iptables-restore
/usr/sbin/iptables-restore-translate
/usr/sbin/iptables-save
/usr/sbin/iptables-translate
/usr/sbin/xtables-monitor
/usr/sbin/xtables-nft-multi
/usr/share/man/man8/arptables-nft-restore.8.gz
/usr/share/man/man8/arptables-nft-save.8.gz
/usr/share/man/man8/arptables-nft.8.gz
/usr/share/man/man8/arptables-restore.8.gz
/usr/share/man/man8/arptables-save.8.gz
/usr/share/man/man8/arptables.8.gz
/usr/share/man/man8/ebtables-nft.8.gz
/usr/share/man/man8/ebtables.8.gz
/usr/share/man/man8/ip6tables-restore-translate.8.gz
/usr/share/man/man8/ip6tables-translate.8.gz
/usr/share/man/man8/iptables-restore-translate.8.gz
/usr/share/man/man8/iptables-translate.8.gz
/usr/share/man/man8/xtables-monitor.8.gz
/usr/share/man/man8/xtables-nft.8.gz
/usr/share/man/man8/xtables-translate.8.gz

References

Summary

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