Cannot add/change the kernel parameters related to netfilter.
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.