Remote administration of FreeNAS

HammerJ

Dabbler
Joined
Jun 22, 2018
Messages
18
Hi everyone!

I have a FreeNAS server in an office 2 hours away. I'm trying to not go up there unless there's other servers in the office besides the FreeNAS that need attention, so that I'm not driving 4 hours just to do a bit of maintenance.

I can access it no problem. I have a VPN to the network, and can access pretty much anything there, including the FreeNAS machine via SSH from inside the VPN.

My issue is this: when I make configuration changes while remoted in via SSH, they don't stick. This is the message, which I'm sure you all know very well:

"Warning: settings changed through the CLI are not written to the configuration database and will be reset on reboot."

Even as root, I have to either use the web access GUI or be there physically? Seems silly. Surely there's a way around this?
 

MikeyG

Patron
Joined
Dec 8, 2017
Messages
442
I'm not clear - are you able to access the web gui via VPN? If so, that should be all you need. What kind of change are you trying to make?
 
Last edited:

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Even as root, I have to either use the web access GUI
Yes. This shouldn't be a problem if you have VPN access.
Surely there's a way around this?
I guess you could write code to make API calls to make the changes you want, but why?

The Release that Must Not be Named had a whole new, written-from-scratch, CLI. Unfortunately, the rest of it was an irredeemably broken POS, so it was scrapped. I don't know if there's any thought toward having a feature-complete, middleware-aware CLI again. I see value in having this, but I can imagine that it's going to be fairly low-priority at best.
 
Top