How To Install netstat-nat on Fedora 36

In this tutorial we learn how to install netstat-nat in Fedora 36. netstat-nat is A tool that displays NAT connections

Introduction

In this tutorial we learn how to install netstat-nat on Fedora 36.

What is netstat-nat

Netstat-nat is a small program written in C. It displays NAT connections, managed by netfilter/iptables which comes with the > 2.4.x linux kernels. The program reads its information from ‘/proc/net/nf_conntrack’, which is the temporary conntrack-storage of netfilter.

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

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

sudo dnf -y install netstat-nat

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

sudo yum -y install netstat-nat

How To Uninstall netstat-nat on Fedora 36

To uninstall only the netstat-nat package we can use the following command:

sudo dnf remove netstat-nat

netstat-nat Package Contents on Fedora 36

/usr/bin/netstat-nat
/usr/lib/.build-id
/usr/lib/.build-id/6d
/usr/lib/.build-id/6d/08c4fc71b836c3615ccca6e4db7dbeecfdb20e
/usr/share/doc/netstat-nat
/usr/share/doc/netstat-nat/AUTHORS
/usr/share/doc/netstat-nat/COPYING
/usr/share/doc/netstat-nat/ChangeLog
/usr/share/doc/netstat-nat/README
/usr/share/man/man1/netstat-nat.1.gz

References

Summary

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