cat /proc/net/nf_conntrack provides no output
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