nf_conntrack in OpenSuse 12.1

Hello!

How to view and change nf_conntrack values in OpenSuse 12.1 release?
In 11.3 I can see it in - cat /proc/net/nf_conntrack | wc -l

cat /proc/net/nf_conntrack | wc -l
11105


and it possible to change value in /proc/sys/net/nf_conntrack_max

cat /proc/sys/net/nf_conntrack_max

65535

#echo 655350 > /proc/sys/net/nf_conntrack_max

cat /proc/sys/net/nf_conntrack_max

655350


Just I will use DNS service(with a lot of users) on my new_PC_srv_12.1 and default value with 65535 it was not enough for it.

But in 12.1 release I can’t find it :frowning:

Thank’s

Sounds like you don’t have the nf_conntrack module loaded.

Thank You!!! :slight_smile:
Of course - I forgot it ;)))

May be do you know if I do

modprobe nf_conntrack

modprobe nf_conntrack_ipv4

what happen after reboot the system? I need do it again or not?

Yes you need to make it persistent.

Normally you would edit /etc/sysconfig/kernel and add “nf_conntrack nf_conntrack_ipv4” to MODULES_LOADED_AT_BOOT.

However this doesn’t seem to work with systemd in 12.1 due to a bug, so you have to create a file /etc/modules-load.d/nf.conf containing two lines:

nf_conntrack
nf_conntrack_ipv4

Ok! Thanks!
I will try…

Ok!
Everything is OK!
I have created new file in /etc/modules-load.d/xxx containing two lines:
nf_conntrack
nf_conntrack_ipv4
And after rebooting now I have loaded modules nf_conntrack and nf_conntrack_ipv4.
Of course now I see files
/proc/sys/net/nf_conntrack_max
and
/proc/net/nf_conntrack

Thank’s a lot.