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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.