cat /proc/net/nf_conntrack provides no output

Linode Staff

I'm able to use the following command on another VPS provider's servers, but this does not work on Linode.

cat /proc/net/nf_conntrack

I get the following error:

cat: /proc/net/nf_conntrack: No such file or directory

How can I make use of nf_conntrack?

1 Reply

To view this information on CentOS 7 or newer Debian/Ubuntu systems you can use conntrack. However, to the best of my knowledge conntrack-tools, the equivalent command on CentOS 6, has been deprecated and is not available on CentOS 6.8. You may be able to use conntrack-tools with a custom distribution. The following guide will be useful if you'd like to run a custom distro.

To use the conntrack command you may need to install it. That can be done with:

Ubuntu/Debian
sudo apt-get install conntrack

CentOS
sudo yum install conntrack-tools libnetfilter_conntrack

Then run the following to view that information.
sudo conntrack -L

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct