Cannot add/change the kernel parameters related to netfilter.

Solution Verified - Updated -

Issue

  • Cannot add/change the kernel parameters related to netfilter.

  • Add these lines in /etc/sysctl.conf:

net.netfilter.nf_conntrack_count=655360
net.netfilter.nf_conntrack_max=655360
  • Run:
# sysctl -p
  • And then the following error messages are observed:
sysctl: cannot stat /proc/sys/net/netfilter/nf_conntrack_count: No such file or directory.
sysctl: cannot stat /proc/sys/net/netfilter/nf_conntrack_max: No such file or directory.

Environment

  • Red Hat Enterprise Linux 7
  • Netfilter

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content