OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: senseivita on September 21, 2020, 04:48:34 PM

Title: Editing aliases outside of OPNsense
Post by: senseivita on September 21, 2020, 04:48:34 PM
I'm trying to return to OPNsense but my aliases have changed quite a bit  since the last time I tried using it. I got a backup from them that I uploaded into the firewall and downloaded again so I would get the newest format, from then my plan was going to use and IDE or something like that to edit quickly the alias list and reapply.

It was everything going fine until I noticed the JSON entries in the file appear to be serialized. No only that, this new value appears to some sort of key for the whole entry. And, because I am no dev, I understand zeropercent of what's going on. :)

Am I aware that I'd be at risk of losing all of my edits or maybe crashing the firewall if there's like some conversion to generate that serial if I enter something else arbitrary. I don't know if simply copying an existing serial will merge the source with the entries, half of the time I'm struggling just to escape JSON correctly,,

Can the alias tables be edited outside of OPNsense anymore? If so, are there guidelines for it?

Thanks!