Unable to set system sysctl options from VyOS KB optimization article, help please?

Hi all,

I am trying to follow the optimisation information from the KB article https://support.vyos.io/en/kb/articles/system-optimization-4 but its not wanting to play.

The article is very fresh and I am on one of the latest 1.4 images but whatever I do I can not get this setting to stick, and I would like to use this as it makes it much easier to deal with restoring config when needed.

Any help please, I have also tried various ways around it, including without the word custom or value but still errors out.

mario@vyos007# set system sysctl custom net.netfilter.nf_conntrack_buckets value 2097152

  Configuration path: system sysctl [custom] is not valid
  Set failed

Hi @blackhole ,

it seems that the command syntax has been a little bit changed in VyOS 1.4.x version and custom replaced with parameter keyword, you could see that if put question mark after set system sysctl . The full command will look like this:

set system sysctl parameter net.netfilter.nf_conntrack_buckets value 2097152

1 Like

Thanks, this worked perfectly