TN13.0-U3.1 how to revert from a bad tunable ?

profwalken

Patron
Joined
Nov 19, 2013
Messages
410
Hi ,
I was setting up a TN13 to use an OpenVPN access, following this tutorial :

How to Configure OpenVPN on TrueNas 12 - Setup your own Home VPN - Part 1​

every thing went smooth until I did a wrong choice in a tunable line related to NIC card, my NAS has 2 NICs em0 and igb0
so I'm sure the tunable line faulty is : natd_interface em0 (it should be igb0)

How can I disable from CLI that only line to be able to access GUI and then modify from GUI?
I'm not an expert, so if you have any clue, please thanks to send some detailled steps.
I found this from another thread:
just disable all of the tunables so you don't have to keep re-entering them.
Code:

sqlite3 /data/freenas-v1.db 'UPDATE system_tunable SET tun_enabled = 0 WHERE id>0;'

Is it possible to use this for me?
From where do I need to send that line ?

This system is in production so It's an emergency for me to keep it back working.

Thanks for help
 
Top