OPNsense Forum

Archive => 24.1, 24.4 Legacy Series => Topic started by: giffordj on May 06, 2024, 06:39:51 PM

Title: Reset Tunables
Post by: giffordj on May 06, 2024, 06:39:51 PM
Is there any way to just reset the system tunables?
Title: Re: Reset Tunables
Post by: rfox on June 04, 2024, 04:45:43 PM
I too would appreciate this feature - I've been trying to tweak my tunables to optimize a bare-metal install on a J4125 with 2 x i226v nics - now I've lost track and would like to just reset all tunables back to a default install without having to completely re-install ?!?  Maybe as a feature request - or the ability to save a snapshot of the tunables and restore that after performing too many changes  ???
Title: Re: Reset Tunables
Post by: Seimus on June 04, 2024, 05:10:25 PM
Maybe like this?

https://forum.opnsense.org/index.php?topic=32017.msg154843#msg154843

Regards,
S.
Title: Re: Reset Tunables
Post by: rfox on June 04, 2024, 05:21:22 PM
 ::) Well I'll be darned!  Thx!! 

Now if we can only have the ability to save the modified tunables (like export/import) to a file when we manually add many changes above the default settings . . . this would be great!  ;)
Title: Re: Reset Tunables
Post by: Seimus on June 04, 2024, 05:25:26 PM
Try it manual

You can copy that section from the json file, and than import it. I think OPNsense supports as well partial config restoration. Not sure if it works for tunable tho.

Regards,
S.
Title: Re: Reset Tunables
Post by: rfox on June 04, 2024, 05:28:24 PM
Just checked - and if you backup the entire config, you can selectively restore just the tunables !!  Not so obvious, but it works!  Cheers . . .